• 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].
    
    	* gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
    
    	* gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
    	gdk_pango_context_get_for_screen() into the backend independent code.
    
    	* gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
    	for drawing images.
    
    	* gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
    	gdk_draw_rectangle_alpha_libgtk_only.
    
    	* gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
    	gdk_pixbuf_set_as_cairo_source()
    
    	* gdk/gdk.symbols: Update
    
    	* gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
    	gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
    
    	* gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
    	gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
    	radio button style for now to get something more scalable.
    
    	*  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
    	antialiasing/dpi settings.
    09d7eafb
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
README.cvs-commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...
sanity_check Loading commit data...