diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index 2243c2f..e3e6bcc 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -876,6 +876,33 @@ Validation: ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-onfailure ``` +### STR-030 - Extract Stroke Draw Pad Face Callback Body + +Status: Ready +Score: +1 renderer boundary and OpenGL parity +Debt: `DEBT-0036` +Scope: `src/canvas.cpp`, `src/legacy_canvas_stroke_execution_services.h`, `tests/paint_renderer/compositor_tests.cpp` + +Goal: + +Move the inline pad-face callback body in `Canvas::stroke_draw()` into a +retained helper so the pad branch owns only concrete face selection and +texture/copy wiring. + +Done Checks: + +- `Canvas::stroke_draw()` no longer contains the inline pad-face callback + body. +- Regression coverage proves the extracted helper preserves pad-face callback + order and copy behavior. +- `docs/modernization/debt.md` records the reduced pad-face callback surface. + +Validation: + +```powershell +ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-onfailure +``` + ### Completed Task Log | Date | Task | Score | Validation | Commit |