[cairo] How to efficiently clear a surface

Jost Boekemeier jost2345 at yahoo.de
Wed Aug 25 09:21:12 PDT 2004


What about adding another fast path to xlib_surface_composite?  Applying
the surface onto itself with the clear operator would clear the
appropriate rectangle.


On Tue, 2004-08-24 at 23:45, Bill Spitzak wrote:
> On Monday 16 August 2004 12:12 pm, Carl Worth wrote:
> 
> What happened to "add a rectangle to the current path" as an interface?

cairo_rectangle()?  Funny, but I don't use it.  Instead of appending a
RECTANGLE token to the list I convert it into the low-level path
representation.  I should probably change that.


Jost





More information about the cairo mailing list