Expand description
CSS transform / transform-origin parsing and matrix composition.
Mirrors morph/style/transforms.py (parse_transform,
compose_transform) and the builder’s _parse_transform_origin so the
Rust pipeline resolves transforms at build time instead of shipping CSS
strings to the runtime.
Enums§
Functions§
- compose_
transform - Compose parsed ops into a single column-major 4x4 matrix.
- parse_
transform - Parse a CSS
transformvalue into ops. - parse_
transform_ origin - Parse a CSS
transform-originvalue into a raw((x, is_pct), (y, is_pct))pair plus the fraction already resolvable without the element box.