[cairo] subimage_copy.c phylosophy

Jeff Muizelaar jeff at infidigm.net
Fri Mar 28 15:15:32 PDT 2008


On Fri, Mar 28, 2008 at 05:41:43PM -0500, Frédéric Plourde wrote:
> Hi everybody !
> I would propose, as Mike said, to change line #40 of subimage_copy.c from :
> cairo_rectangle (cr, 2, 2, 4, 4);  
> to
> cairo_rectangle (cr, (width/4), (height/4), 3*(width/4), 3*(height/4) );
> 
> what do you think ?

You could also just make a new test. That way we can continue to ensure
that painting performance is proportional to the area painted and not
the size of the underlying image. (the x problem)

-Jeff


More information about the cairo mailing list