Module utils
Expand description
Miscellaneous utility helpers for working with Skia: path parsing, text drawing, shadows, and typefaces.
Modules§
- parse_
path - Parsing and serialization of SVG path data (Skia’s
SkParsePath), e.g. converting an SVG path string to acrate::Path. - shadow_
utils - Utilities for drawing and computing drop shadows.
- text_
utils - Helpers for drawing strings with a
crate::Fontandcrate::Paint(Skia’sSkTextUtils).
Enums§
Functions§
- new_
null_ canvas - Creates a canvas that draws nothing. This is useful for performance testing.