akiraux / Akira

Native Linux App for UI and UX Design built in Vala and GTK
GNU General Public License v3.0
5.26k stars 200 forks source link

Linear and Radial Gradients on main branch #718

Open AshishS-1123 opened 2 years ago

AshishS-1123 commented 2 years ago

Summary / How this PR fixes the problem?

Following features will be implemented in this PR

Blending Cairo.Patterns requires a little bit of math (Linear Interpolation. Will probably implement it in another PR

Steps to Test

After creating a pattern, click on the + button to add this pattern to the Global colors. You can then apply the same pattern to any other canvas item by clicking on it.

Screenshots

gradients

Known Issues / Things To Do

This PR fixes/implements the following bugs/features: