shader program in cairo graphics?

Jeong-Joon Yoo <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAKhTqcZCBF=uFiEYeu0fgxV6b92zmib7jGCfO+wcuVQb6ig3Mw@mail.gmail.com>
 Hi all,

I have a question whether there is, in cairo graphics, a function like a
shader program shown in 3D graphics.

I hope to fill a polygon with some colors, and I hope to define the color
as a function depending on the (x, y) position.

Is there any cairo API or data structure related with this functionality?
or any examples? Any comment will be appreciated.

Thank you in advance.

Sincerely yours.

- jjyoo

-- 
cairo mailing list
[email protected]
http://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.