pizarra 3.0.1

The backend for a simple vector hand-drawing application
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Thikness in pixels used by default while drawing
pub const DEFAULT_THICKNESS: f64 = 3.0;

/// Padding in pixels added to drawings while exporting.
pub const EXPORT_PADDING: f64 = 20.0;

/// if two points are within this radius pizarra considers them to be touching
/// each other.
///
/// Useful to close polygons
pub const TOUCH_RADIUS: f64 = 10.0;