Re: Circular Ring Gradient

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Thu, 11 May 2017 07:20:47 +0930, Adrian Johnson wrote:

> Mesh patches can have Bézier curved sides. A circle can be
> approximated with 8 Bézier curves. A ring can be created with 8
> patches. See attached example and output.

Couldn’t resist--attached Python version using Qahirah, 78 lines versus
128 lines for the C version. ;)

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
ring_gradient (application/octet-stream, 2.2 KB) - not displayed
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.