[cairo] A hidden offset for the xlib backend
jost2345 at yahoo.de
Tue Sep 7 10:50:13 PDT 2004
> However I don't understand why GTK can't just do
> cairo_translate(ct,-event.xoff,-event.yoff) before
> calling the widget drawing
Because they don't "own" the ct. The user would be
very surprised if they abuse his current
transformation to correct their internal offsets.
Maybe a custom surface, a "cairo_gtk_xlib_surface"
could provide the functionality. (or wrapping the
cairo interface entirely, ehm.)
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
More information about the cairo