[cairo] clipmask of multiple rects in different angles

Mike Gran spk121 at yahoo.com
Thu Jul 21 01:30:11 UTC 2016






> On Wednesday, July 20, 2016 4:32 PM, Lawrence D'Oliveiro <ldo at geek-central.gen.nz> wrote:
> > On Thu, 21 Jul 2016 01:22:39 +0200, Enrico Weigelt, metux IT consult
> wrote:
> 
>>  Just implemented it - doesn't seem to have much effect.
> 
> Aren’t people using OpenGL to handle their GUI drawing nowadays?
> 


As for me, I'm not sure what GTK does under the hood, but
I draw to a cairo image surface, and when the gdk frame clock
says it is time to draw, I just paint the whole image surface
to a gdk cairo surface for a given gtk widget.


That has always been speedy enough for me: 30 or 60fps if necessary.


More information about the cairo mailing list