global clip for a cairo context

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi folks,

is it possible to set a global clip onto an cairo context, which
remains for the lifetime of the context (or until explicitly reset),
so it will never ever paint outside these boundaries ?

I'm looking for a way to achieve clipping in my tiny widget toolkit.
The individual widget's paint callback should get passed a cairo_t*,
representing it's paint area, just like if it had its own surface.

--mtx

--
Enrico Weigelt,
metux IT consulting
+49-151-27565287
-- 
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.