Hi, On Sat, Sep 11, 2010 at 12:57 PM, Benjamin Otte <o...@gnome.org> wrote: > gtk_paint_*() does - at least in my branch - draw relative to the > passed in cairo_t. As almost all the paint functions take > x,y,width,height anyway it doesn't really matter where the origin of > the cairo_t is. You'll notice in all the "Port to draw vfunc" patches > that I removed allocation.x/y from the x/y parameters. > The original paint functions that took a GdkWindow were > window-relative so had to take into account allocation.x/y.
I'm looking at gtk_scale_draw for example on your branch http://git.gnome.org/browse/gtk+/tree/gtk/gtkscale.c?h=rendering-cleanup-next#n1159 Havoc _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list