[cairo] A hidden offset for the xlib backend
Jost Boekemeier
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
> functions.
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.)
Jost
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
More information about the cairo
mailing list