Skip to main content

Module utils

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 a crate::Path.
shadow_utils
Utilities for drawing and computing drop shadows.
text_utils
Helpers for drawing strings with a crate::Font and crate::Paint (Skia’s SkTextUtils).

Enums§

TypefaceGlyph

Functions§

new_null_canvas
Creates a canvas that draws nothing. This is useful for performance testing.

Type Aliases§

CustomTypefaceBuilder
OrderedFontMgr