Skip to main content

lower_transform

Function lower_transform 

Source
pub fn lower_transform(
    style: &ComputedTransformStyle,
    border_width: f32,
    border_height: f32,
) -> Option<Transform>
Expand description

Resolves a computed transform against one node’s border-box size.

Hosts receive only the resulting matrix; percentages and transform-origin never cross the renderer boundary.