Skip to content
  • Owen Taylor's avatar
    Switch set_cairo_target() virtual function to ref_cairo_surface() · 09d7eafb
    Owen Taylor authored
    2005-03-15  Owen Taylor  <otaylor@redhat.com>
    
    	* gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
    	gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
    	gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
    	ref_cairo_surface()
    
    	* gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
    	function to create_cairo_context()
    
    	* gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
    
    	* gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
    	not just the pixel.
    
    	* tests/testcairo.c: Update for create_cairo_context()
    
    	* gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
    	Reimplement in terms of Cairo, bypass the vtable entries.
    
    	* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
    	gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
    	gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
    	implementation of draw_trapezoids / draw_glyphs[_transformed]....
    09d7eafb