Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of the radial gradient with cairo for Linux. #306

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

rehans
Copy link
Contributor

@rehans rehans commented Aug 18, 2023

I followed this tutorial about gradients with cairo: https://zetcode.com/gfx/cairo/gradients/

I compared to Windows and with the same settings in the VSTGUI Live Editor I got identical looking results. Sometimes there is a "hickup": When moving around the view the radial gradient gets sticky and does not follow the view any longer. But when saving it "jumps" back into place.

Furthermore there is the originOffset argument of fillRadialGradient. But I don't know what it is for. It is always (0,0) and I cannot make it change by any setting in VSTGUI Live Editor.

@scheffle scheffle merged commit da4e395 into steinbergmedia:develop Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants