Crate tiny_skia_path
source ·Expand description
A tiny-skia Bezier path implementation.
Provides a memory-efficient Bezier path container, path builder, path stroker and path dasher.
Also provides some basic geometry types, but they will be moved to an external crate eventually.
Note that all types use single precision floats (f32
), just like Skia.
Modules
- A collection of functions to work with Bezier paths.
Structs
- An immutable, finite
f32
. - An integer rectangle.
- An integer size.
- An immutable, finite
f32
that is known to be > 0. - A rectangle defined by left, top, right and bottom edges.
- An immutable, finite
f32
in a 0..=1 range. - An immutable
f32
that is larger than 0 but less then 1. - A Bezier path.
- A path builder.
- A path segments iterator.
- A path stroker.
- A point.
- A rectangle defined by left, top, right and bottom edges.
- A size.
- Stroke properties.
- A stroke dashing properties.
- An affine transformation matrix.
- A pair of f32 numbers.
Enums
- Draws at the beginning and end of an open path contour.
- Specifies how corners are drawn when a shape is stroked.
- A path segment.
- A path verb.
Constants
Traits
- Custom float to integer conversion routines.
- Custom float to integer rounding routines.
- Float number extension methods.