dkdc-draw 0.1.0

Local-first drawing tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod cli;

pub use cli::run_cli;
pub use draw_core::{
    document::Document,
    element::{Element, FreeDrawElement, LineElement, ShapeElement, TextElement},
    export_png, export_png_with_scale, export_svg,
    point::{Bounds, Point, ViewState},
    render::{HandlePosition, RenderConfig, Renderer},
    storage,
    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,
    },
};