feat: Add digital, dry, ink, and paint brush presets; implement regression testing hooks
mandatory-regression-gate / deterministic-tests (push) Has been cancelled
mandatory-regression-gate / protected-performance-path (push) Has been cancelled

- Introduced new crates for digital brushes, dry media brushes, ink brushes, and paint brushes, each containing various presets.
- Updated the menus to include "Paste Special" and "Paste as New Layer" options.
- Enhanced the feature scorecard tests to validate selection texture encoding.
- Added a regression gate workflow for automated testing on push and pull requests.
- Implemented Git hooks for pre-commit checks to ensure code formatting and run tests before commits.
- Created a settings file for local configurations.
This commit is contained in:
Your Name
2026-07-23 02:28:49 +03:00
parent 2d5b7a37e8
commit e509def0b2
26 changed files with 2446 additions and 335 deletions
+16 -2
View File
@@ -162,8 +162,8 @@ pub fn draw_brush_stroke(
color_variant: tip.color_variant,
variant_amount: tip.variant_amount,
density: tip.density,
drawing_angle: false,
rotation_random: 0.0,
drawing_angle: tip.drawing_angle,
rotation_random: tip.rotation_random,
};
hcie_draw::draw_brush_stroke(
layer,
@@ -198,6 +198,13 @@ pub fn draw_specialized_stroke(
color_variant: bool,
variant_amount: f32,
density: f32,
jitter_amount: f32,
scatter_amount: f32,
angle: f32,
roundness: f32,
rotation_random: f32,
drawing_angle: bool,
include_first_dab: bool,
) {
let style = map_brush_style(brush_style);
hcie_brush_engine::draw_specialized_stroke(
@@ -221,6 +228,13 @@ pub fn draw_specialized_stroke(
color_variant,
variant_amount,
density,
jitter_amount,
scatter_amount,
angle,
roundness,
rotation_random,
drawing_angle,
include_first_dab,
)
}