Summary
Single-path shapes with the NOT OR operation (negated shapes) are not currently handled.
Current Behavior
- Single paths with NOT OR operation are processed as regular shapes
- Code location: shape.py:40
Expected Behavior
Proper handling of negated shapes, likely by creating an inverted mask or using appropriate SVG techniques.
Implementation Notes
The code comment indicates this is a special case: "Handle NOT OR for single path. This is a negated shape."
A negated shape means the shape defines what should be hidden rather than what should be shown. This would require:
- Detecting the NOT OR operation on single paths
- Using an inverted mask or fill-rule to achieve the negation effect
- Ensuring proper composition with other layers
Related Files
src/psd2svg/core/shape.py
Summary
Single-path shapes with the NOT OR operation (negated shapes) are not currently handled.
Current Behavior
Expected Behavior
Proper handling of negated shapes, likely by creating an inverted mask or using appropriate SVG techniques.
Implementation Notes
The code comment indicates this is a special case: "Handle NOT OR for single path. This is a negated shape."
A negated shape means the shape defines what should be hidden rather than what should be shown. This would require:
Related Files
src/psd2svg/core/shape.py