skia-rs-path
Path geometry and operations for skia-rs, a pure Rust implementation of the Skia 2D graphics library.
Features
- Path construction:
Path,PathBuilderwith fluent API - Path operations: Boolean union, intersect, difference, xor
- Path effects: Dash, corner, discrete, trim effects
- SVG parsing: Parse SVG path data strings
- Path measurement: Length, position along path
Usage
use ;
// Build a path with fluent API
let path = new
.move_to
.line_to
.quad_to
.close
.build;
// Parse SVG path data
let heart = from_svg.build;
// Boolean operations
let union = union;
License
MIT OR Apache-2.0
See the main repository for more information.