dkdc-draw-core 0.3.0

Core library for draw
Documentation
pub mod document;
pub mod element;
pub mod export_png;
pub mod export_svg;
pub mod geometry;
pub mod history;
pub mod point;
pub mod render;
pub mod storage;
pub mod style;

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