Crate skia_rs_svg

Crate skia_rs_svg 

Source
Expand description

SVG parsing and rendering for skia-rs.

This crate provides SVG support:

  • SVG parsing (via custom parser)
  • SVG rendering to canvas
  • SVG DOM manipulation
  • CSS styling support
  • SVG export

Re-exports§

pub use css::CssRule;
pub use css::CssSelector;
pub use css::Stylesheet;
pub use css::apply_stylesheet;
pub use css::parse_inline_style;
pub use export::SvgExportOptions;
pub use export::export_svg;
pub use export::export_svg_with_options;
pub use dom::*;
pub use parser::*;
pub use render::*;

Modules§

css
CSS parsing and styling support for SVG.
dom
SVG DOM representation.
export
SVG export functionality.
parser
SVG parsing.
render
SVG rendering to canvas.