code icon indicating copy to clipboard operation
code copied to clipboard

Gradient Lab

Open hiiamboris opened this issue 5 years ago • 5 comments

Should it really behave like this? If so, what's the logic?

hiiamboris avatar Jun 24 '20 15:06 hiiamboris

Is the behavior question for the gradient-lab tool, or the gradient command in draw? In either case, I have to say "I don't know." because I don't know what the alternative would be. e.g. what do other gradient systems (maybe in SVG or OpenGL) do, and where did Red's design come from? What is to emulate the AGG behavior from R2, and where did AGG get their algorithm?

greggirwin avatar Jun 24 '20 17:06 greggirwin

@qtxie is this easy for you to answer?

greggirwin avatar Dec 05 '20 19:12 greggirwin

I don't know either. Also the diamond gradient only exists in GDI+, maybe we should remove it.

qtxie avatar Dec 06 '20 07:12 qtxie

Yeah. GDI+ is not something we should depend on, considering how buggy it is.

hiiamboris avatar Dec 06 '20 09:12 hiiamboris

I agree, and don't know of anything that ever used it. Make it so @qtxie.

greggirwin avatar Dec 06 '20 17:12 greggirwin