[cairo] creating non-rectangular clips

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Fri Jan 15 23:14:47 PST 2016


On 16.01.2016 04:19, Lawrence D'Oliveiro wrote:
> On Fri, 15 Jan 2016 01:10:44 +0100, Enrico Weigelt, metux IT consult
> wrote:
> 
>> Could you give me some example code ?
> 
> OK, have a look at this
> <http://cairographics.org/cookbook/outside_clipping/> and feel free to
> ask further questions.

thx. meanwhile found it out by myself, based on your previous comments.

i was just stuggling with my own stupidity - clipped out the visible
widgets instead of the invisible ones ;-o

Seems to be working now.

https://github.com/metux/twtk/tree/hack

Now I'll have to find out, how to clip only to the affected regions on
window moving ...

--mtx

--
Enrico Weigelt,
metux IT consulting
+49-151-27565287


More information about the cairo mailing list