[cairo] A hidden offset for the xlib backend

Jost Boekemeier jost2345 at yahoo.de
Sun Sep 5 14:29:33 PDT 2004

On Sun, 2004-09-05 at 21:27, Owen Taylor wrote:

> But the problem here is that this translation does leak out to
> the user if they use, e.g, cairo_transform_point(), 
> cairo_inverse_transform_point().

Depends on how you want to implement it.  You could give the user an
intermediate surface to draw onto and then compose it onto the real
drawable.  During composition you have the chance to move the drawable
into the right position.  Would that work?


More information about the cairo mailing list