Add drawing tablet input support

This commit is contained in:
Skyler Lehmkuhl
2026-03-11 10:58:30 -04:00
parent f72c2c5dbd
commit b8f847e167
9 changed files with 1005 additions and 22 deletions
@@ -9,8 +9,10 @@ impl RasterToolDef for PaintTool {
fn blend_mode(&self) -> RasterBlendMode { RasterBlendMode::Normal }
fn header_label(&self) -> &'static str { "Brush" }
fn brush_params(&self, s: &RasterToolSettings) -> BrushParams {
let mut base_settings = s.active_brush_settings.clone();
base_settings.elliptical_dab_angle += s.brush_angle_offset;
BrushParams {
base_settings: s.active_brush_settings.clone(),
base_settings,
radius: s.brush_radius,
opacity: s.brush_opacity,
hardness: s.brush_hardness,