Skip to main content

Module layer_transform

Module layer_transform 

Source

Functions§

apply_layer_affine_to_point
Point counterpart of apply_layer_affine_to_rect: scale about the layer pivot, then translate. Rotation/perspective are deliberately excluded — the affine space is the one SDF shapes are evaluated in, with rotation carried by the deformed quad instead.
apply_layer_affine_to_rect
apply_layer_to_quad
apply_layer_to_rect
layer_transform_to_parent
layer_uniform_scale