Skip to main content

Crate draw_core

Crate draw_core 

Source

Re-exports§

pub use document::Document;
pub use element::Element;
pub use element::FreeDrawElement;
pub use element::LineElement;
pub use element::ShapeElement;
pub use element::TextElement;
pub use export_png::export_png;
pub use export_png::export_png_with_scale;
pub use export_svg::export_svg;
pub use point::Bounds;
pub use point::Point;
pub use point::ViewState;
pub use render::HandlePosition;
pub use render::RenderConfig;
pub use render::Renderer;
pub use style::Arrowhead;
pub use style::DEFAULT_FILL_COLOR;
pub use style::DEFAULT_FONT_FAMILY;
pub use style::DEFAULT_FONT_SIZE;
pub use style::DEFAULT_HACHURE_ANGLE;
pub use style::DEFAULT_HACHURE_GAP;
pub use style::DEFAULT_STROKE_COLOR;
pub use style::DEFAULT_STROKE_WIDTH;
pub use style::FillStyle;
pub use style::FillType;
pub use style::FontStyle;
pub use style::StrokeStyle;
pub use style::TextAlign;

Modules§

document
element
export_png
export_svg
history
point
render
Unified tiny-skia renderer for both native and WASM targets.
storage
style