Commit Graph

9 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
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
9fc0c18114 feat(tools): add brush raster painting 2026-07-03 17:37:43 +02:00
syntaxbullet
665f4a5340 feat(core): add raster layer type 2026-07-03 17:34:02 +02:00
syntaxbullet
fedeaffa57 feat(layers): add layer management panel 2026-07-03 17:26:50 +02:00
syntaxbullet
75466d2aa6 feat(commands): add image asset layer commands 2026-07-03 16:18:40 +02:00
syntaxbullet
e90b829e62 feat(commands): add artboard bounds command 2026-07-03 16:05:15 +02:00
syntaxbullet
84a610f019 refactor(commands): centralize command ids 2026-07-03 11:31:02 +02:00
syntaxbullet
f4ad35a7f8 feat(commands): add transparent artboard creation 2026-07-03 09:52:00 +02:00