Expand description
A simple API for Pathfinder that mirrors a subset of HTML canvas.
Structs§
- NB: The origin is inclusive, while the lower right point is exclusive.
- An affine transform, optimized with SIMD.
- 2D points with 32-bit floating point coordinates.
- 2D points with 32-bit signed integer coordinates.
Enums§
Traits§
- Either a scalar or a
Vector2F
.
Functions§
- A convenience method to construct a
ColorF
from an RGBA triple. - A convenience method to construct a
ColorU
from an RGBA triple. - A convenience method to construct a
ColorF
from an RGB triple. - A convenience method to construct a
ColorU
from an RGB triple. - A convenience alias for
Vector2F::new()
. - A convenience alias for
Vector2I::new()
.