Re: Circular Ring Gradient

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
 

 To get a smooth sweep over the circular ring gradient I split one of the trapezoids in two. For example if There are 8 trapezoids and you want to draw a gradient from 0 to 6.5 the 6th trapezoid gets split. That way I can animate over the entire ring and not just the trapezoid segments. It works pretty good. Have a bit of code clean-up and reorganizing but I got the basics to work. Should be able to migrate it over to the adjustable gauge widget with a little more work.

Eric

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.