Expand description
Utility functions.
Structs§
- Pool
- Pool for reusing allocations.
- Retain
Vec - A resizable vector that retains inner elements upon resizing.
Traits§
- Clear
- A type that can be cleared.
- Div255
Ext - A trait for implementing a fast approximal division by 255 for integers.
- RectExt
- Extension methods for rectangles.
Functions§
- extract_
scales - Extract scale factors from an affine transform using singular value decomposition.
- f32_
to_ u8 - Convert f32x16 to u8x16.
- is_
axis_ aligned - Check if an affine transform has no skewing (i.e. preserves axis alignment).
- is_
integer_ translation - Check if an affine transform is a pure integer translation.
- normalized_
mul_ u8x16 - Perform a normalized multiplication for u8x16.
- normalized_
mul_ u8x32 - Perform a normalized multiplication for u8x32.
- snap_
down 🔒 - strip_
bbox - Calculate the bounding box of the strips.
Type Aliases§
- VecPool
- Pool for reusing vector allocations.