Module geom

Source

Structsยง

BBox ๐Ÿ”’
A bounding box calculator.
NonZeroRect
A rectangle defined by left, top, right and bottom edges.
Rect
A rectangle defined by left, top, right and bottom edges.
Size
A size.
Transform
An affine transformation matrix.
ViewBox ๐Ÿ”’
View box.

Traitsยง

ApproxZeroUlps
Approximate zero equality comparisons.
IsValidLength ๐Ÿ”’
Checks that the current number is > 0.

Functionsยง

aligned_pos ๐Ÿ”’
Returns object aligned position.