Normalized intermediate representation (IR) for imported designs: the IR value model (style, layout, nodes, tokens, asset manifest, diagnostics). More...
#include <pulp/view/design_line_metrics.hpp>#include <cmath>#include <cstddef>#include <cstdint>#include <filesystem>#include <memory>#include <string>#include <string_view>#include <vector>#include <optional>#include <map>#include <unordered_map>#include <variant>Go to the source code of this file.
Classes | |
| struct | pulp::view::IRBoxShadow |
| A single CSS box-shadow layer. More... | |
| struct | pulp::view::IRStyle |
| Style properties for an IR node. More... | |
| struct | pulp::view::IRStyle::ClipRect |
| struct | pulp::view::IRStyle::RenderBounds |
| struct | pulp::view::IRLayout |
| Layout properties for an IR container node. More... | |
| struct | pulp::view::IRProvenance |
| Adapter-side provenance: who lowered this node, from what source. More... | |
| struct | pulp::view::IRTextLineBox |
| One styled character range inside a text node. More... | |
| struct | pulp::view::IRTextLayoutBasis |
| What the cached line boxes above were laid out AGAINST. More... | |
| struct | pulp::view::IRTextRun |
| struct | pulp::view::IRInteractiveElement |
| struct | pulp::view::IRNode |
| struct | pulp::view::ImportDiagnostic |
| struct | pulp::view::IRAssetRef |
| struct | pulp::view::IRAssetManifest |
| struct | pulp::view::IRFontAsset |
| A bundled (non-system) font shipped with the design (figma-plugin #43a: envelope font_family_assets[]). More... | |
| struct | pulp::view::IRTokenIdentity |
| struct | pulp::view::IRTokens |
| Design token collection (W3C-compatible). More... | |
| struct | pulp::view::DesignIR |
| Complete design IR document. More... | |
| struct | pulp::view::DesignIrJsonOptions |
| struct | pulp::view::DesignIrAssetOptions |
Namespaces | |
| namespace | pulp |
| namespace | pulp::view |
| Hover-cursor tracking for platform window hosts. | |
Functions | |
| float | pulp::view::selector_segment_value (int index, int count) |
| The value a segmented selector writes for segment index of count, and the segment a parameter value selects. | |
| float | pulp::view::stepper_normalized_value (double plain, double min, double max) |
| A stepper's plain value (voices, octaves) against the normalized parameter behind it. | |
| double | pulp::view::stepper_plain_value (float normalized, double min, double max, double step) |
| int | pulp::view::selector_segment_index (float value, int count) |
| bool | pulp::view::toggle_on_from_normalized (double value) |
| The single threshold used by every toggle import/binding path. | |
Normalized intermediate representation (IR) for imported designs: the IR value model (style, layout, nodes, tokens, asset manifest, diagnostics).
This header is the pulp-design-ir unit. It sits below view-core and includes only the standard library, so generic view code can carry IR values without reaching the importer. The canonical JSON serialize/parse, asset collection, and interactive-frame promotion entry points are importer operations and live in design_ir_io.hpp (pulp-design-import).