[cairo] global clip for a cairo context
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Sat Jan 2 06:11:30 PST 2016
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
More information about the cairo
mailing list