Skip to content
Commit 854fac3d authored by Alex Op's avatar Alex Op
Browse files

Add gradient support to font formatting

- Introduced gradient properties in FontFormat: enabled state, start color, end color, angle, and size.
- Implemented gradient handling functions in fontformat_commands.py.
- Updated funcmaps.py to include new gradient handlers.
- Enhanced FontFormatPanel in text_panel.py with UI controls for gradient settings (enable checkbox, color pickers, angle slider, size slider).
- Modified TextBlkItem in textitem.py to support gradient rendering in the paint method.
- Ensured gradient properties are preserved during font format updates.

This commit enhances the text formatting capabilities by allowing users to apply gradients to text elements, improving visual customization options.
parent 1733a0e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment