Commit Graph

10 Commits

Author SHA1 Message Date
syntaxbullet
f5c610dac5 feat: implement inpainting functionality with mask handling
- Added `createMaskedPixelReplacementSource` function to handle pixel replacement using inpainting.
- Introduced `buildInpaintBundle` to prepare inpainting data including mask generation and validation.
- Created utility functions for mask operations such as `applyMaskedContentModeToRgba`, `expandRectWithinBounds`, and others for mask manipulation.
- Developed tests for inpainting preparation and mask raster utilities to ensure functionality and correctness.
- Implemented mask raster operations including inversion, feathering, blurring, and more.
2026-07-05 09:35:16 +02:00
syntaxbullet
6e5d58a638 perf(brush): reuse stroke session canvas 2026-07-04 16:09:44 +02:00
syntaxbullet
ef0ce15bb5 perf(view): reduce shell rerenders 2026-07-04 15:37:54 +02:00
syntaxbullet
cbd4eb5e9b feat: implement brush availability hints and enhance layer rendering order 2026-07-03 23:18:48 +02:00
syntaxbullet
4ad0bb8b2c feat: enhance layer masking functionality and brush controls
- Refactor LayersSheet component to support mask editing state and improve layer visibility handling.
- Introduce functions to collect mask layer IDs and count display layers excluding masks.
- Update BrushControls to include mask view mode options and a Done button for exiting mask editing.
- Modify brush session handling to support brush previews when editing masks.
- Implement a new BrushPreviewRenderer for rendering brush strokes with visual feedback.
- Add document geometry utilities for transforming points and resolving layer bounds.
- Ensure proper cleanup of brush preview on pointer leave and other interactions.
2026-07-03 20:49:29 +02:00
syntaxbullet
15f3a934e0 feat(masks): add mask editing mode 2026-07-03 18:07:04 +02:00
syntaxbullet
29c0d1eafd fix(tools): respect pan while painting 2026-07-03 17:56:41 +02:00
syntaxbullet
64aebbe23a feat(tools): add brush controls 2026-07-03 17:49:00 +02:00
syntaxbullet
c13a6f5917 feat(tools): add eraser tool 2026-07-03 17:39:00 +02:00
syntaxbullet
9fc0c18114 feat(tools): add brush raster painting 2026-07-03 17:37:43 +02:00