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ยง
- dash ๐
- f32x2_t ๐
- f32x4_t ๐
- floating_
point ๐ - path ๐
- path_
builder ๐ - A collection of functions to work with Bezier paths.
- rect ๐
- scalar ๐
- size ๐
- stroker ๐
- transform ๐
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.
Functionsยง
- set_
point_ ๐length
Type Aliasesยง
- Length
U32 ๐An integer length that is guarantee to be > 0