Skip to main content

Module geometry

Module geometry 

Source
Expand description

Fixed-point geometry contracts. Defines bounded geometry contracts and behavior for this crate.

Structs§

BoundsSet
Distinct geometry bounds retained after measurement and layout.
Insets
Insets around a rectangle.
Point
A point in resolved page coordinates.
Rect
Axis-aligned resolved rectangle.
Size
A non-negative resolved size.
Transform
Fixed-point affine transform using millionth scale coefficients.

Enums§

PathCommand
Fully resolved vector path command in page coordinates.
Shape
Geometry used for collision and vector output.