Skip to main content

Module bounds

Module bounds 

Source
Expand description

Color glyph extents computed from what the glyph paints.

Provides a PaintSink that tracks the transform and clip stacks and takes the union of the clips of all fills, as HarfBuzz’s hb-paint-extents does. A fill clipped to an outline is measured by the control box of that outline.

Structs§

BoundsSink 🔒
A sink that paints nothing and measures what would have been painted.

Enums§

Bounds 🔒
The area covered by a clip or by the paint inside it.

Functions§

transform_bounds 🔒
Returns the bounding box of the corners of bounds after applying transform.