Macros
- Macro to pack RGB values into a u32 with an alpha of 255
- Macro to pack RGBA values into a u32
Structs
- Represents the 3x3 matrix with the following values:
Traits
Functions
- The point of this function is to produce two ranges
x1..=x2
andy1..=y2
that are guaranteed to be safe to iterate over the canvas of sizecanvas_width
bycanvas_height
without any boundary checks. - The point of this function is to produce two ranges
left_x..=right_x
andtop_y..=bottom_y
that are guaranteed to be safe to iterate over the canvas of sizewidth
byheight
without any boundary checks.