Commit Graph
4 Commits
Author SHA1 Message Date
Ewald 50d3ce5a98 feat(comp): add corner pin functionality to composition layers
- Implement corner pin controls for composition layers
- Add functions to handle corner pin normalization and validation
- Update composition layer serialization and deserialization to include corner pin data
- Modify comp layer rect calculation to support corner pin
- Add utility functions for link handling in the graph
2026-04-17 09:37:18 +02:00
MajoorWaldi e6696e7f09 feat: add new properties to NodeState and CropPreviewGeometry interfaces
- Added drawOverlayFormatSelect, drawPressureSizeInput, drawPressureOpacityInput, and drawTiltSizeInput to NodeState for enhanced drawing options.
- Introduced bbox property in CropPreviewGeometry to provide detailed bounding box information for cropping functionality.
2026-04-08 08:08:39 +02:00
Ewald f88dab1e4a feat: add image to mask preview canvas functionality and enhance rendering capabilities
- Implemented `imageToMaskPreviewCanvas` function to convert images to mask previews based on alpha values.
- Updated `renderCompPreview` to support additional parameters for center positioning and rotation of layers.
- Modified `buildRenderer` to utilize `getInputOriginSlot` for improved input handling.
- Enhanced `NodeState` interface with additional properties for drawing and color management.
- Expanded `CropDragMode` and `CompDragMode` types to include new drag options.
2026-04-06 02:30:33 +02:00
MajoorWaldi 2abd0673b8 feat: add image operations nodes for composition, cropping, and drawing
- Implemented ImageOpsComp for image composition with multiple layers and blending modes.
- Created ImageOpsCrop for interactive cropping with aspect ratio support.
- Developed ImageOpsDraw for drawing on images with customizable tools and overlays.
- Added utility functions for handling crop and draw operations, including aspect ratio resolution and canvas management.
- Introduced TypeScript interfaces and utility functions for managing composition layers and crop rectangles in the preview.
2026-03-18 15:19:58 +01:00