Commit Graph

21775 Commits

Author SHA1 Message Date
Benjamin Otte
b478081b7d gdk: Always clear backing store with Cairo
The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...
2010-07-26 16:42:49 +02:00
Benjamin Otte
331d77f3d7 gdkgc: Draw clip mask with Cairo 2010-07-26 16:42:49 +02:00
Benjamin Otte
37c502eae3 gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo 2010-07-26 16:42:49 +02:00
Benjamin Otte
5649431acb docs: Remove mention of gdk_draw_drawable()
That function is about to die.
2010-07-26 16:42:49 +02:00
Benjamin Otte
ccc26207fe gdk: Use the system colormap, not the rgb colormap
RGB colormaps are on their way out.
2010-07-26 16:42:49 +02:00
Benjamin Otte
b68801f168 gdk: Get rid of GdkRGB usage
Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.
2010-07-26 16:42:49 +02:00
Benjamin Otte
7b213d5604 gdk: Get rid of gdk_draw_pixbuf() call
Use Cairo code instead.
2010-07-26 16:42:49 +02:00
Benjamin Otte
610e29892e style: Draw insertion cursor with Cairo 2010-07-26 16:42:49 +02:00
Benjamin Otte
9bac13b1f5 Remove _gtk_widget_get_cursor_gc() function
It's unused now.
2010-07-26 16:42:48 +02:00
Benjamin Otte
761b0ea3ae testing: Use Cairo calls instead of gdk_draw_line() to test server sync 2010-07-26 16:42:48 +02:00
Benjamin Otte
188884a9b1 gtk-demo: Blit backing pixmap using Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
831afa2159 gtk-demo: Convert color selection example to Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
760ba34bd8 gtk-demo: Convert drawingarea example to Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
4d07fa5772 gtk-demo: Make pixbufs demo use Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
1e64e36b58 demos: No need to set the rgb colormap here 2010-07-26 16:42:48 +02:00
Benjamin Otte
da49daecc4 demos: Convert to drawing with Cairo instead of GdkRGB 2010-07-26 16:42:48 +02:00
Benjamin Otte
73ae8a787e demos: Use Cairo instead of gdk_draw_pixbuf() 2010-07-26 16:42:48 +02:00
Benjamin Otte
e0efb8798a testgtk: Remove unused variable 2010-07-26 16:42:48 +02:00
Benjamin Otte
e8bf80ebea testgtk: Draw rotated text example with pangocairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
8630657324 testgtk: Replace gdk_draw_rectangle() with Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
0a451f508b test: Convert testinput to Cairo
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-07-26 16:42:48 +02:00
Benjamin Otte
6dd7e5af08 tests: Make testoffscreen use Cairo 2010-07-26 16:42:48 +02:00
Benjamin Otte
a625e587a3 tests: replace gdk_draw_drawable() with Cairo calls in testinput 2010-07-26 16:42:48 +02:00
Benjamin Otte
17bd528df5 tests: Use gdk_screen_get_default_colormap()
We don't need the RGB colormap here.
2010-07-26 16:42:48 +02:00
Benjamin Otte
58ef2afdfa tests: Use GdkPixbuf for taking a screenshot, not GdkImage 2010-07-26 16:42:48 +02:00
Benjamin Otte
6d4bae5ccc tests: Remove gdk_draw_pixbuf() with Cairo equivalent 2010-07-26 16:42:47 +02:00
Benjamin Otte
c1c9b7dfc8 pixbuf-engine: Draw mask with Cairo
No more gdk_pixbuf_render_threshold_alpha()
2010-07-26 16:42:47 +02:00
Benjamin Otte
a22ebc974f pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent 2010-07-26 16:42:47 +02:00
Benjamin Otte
59db821725 pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
This replaces the tiled fill call only.
2010-07-26 16:42:47 +02:00
Benjamin Otte
7f1801eae1 imcontextxim: Draw with Cairo 2010-07-26 16:42:47 +02:00
Benjamin Otte
c122d31c29 decorations: Draw text with Cairo 2010-07-26 16:42:47 +02:00
Benjamin Otte
a8d805ffbc decorate: Draw decorations using Cairo
Patch is untested, is there an example using this?
2010-07-26 16:42:47 +02:00
Benjamin Otte
ff25b0dc20 hsv: Remove unused variable 2010-07-26 16:42:47 +02:00
Benjamin Otte
5cd6d309ea treeview: Draw the dnd pixmaps with Cairo 2010-07-26 16:42:47 +02:00
Benjamin Otte
da426ec97c treeview: Draw lines with Cairo 2010-07-26 16:42:47 +02:00
Benjamin Otte
8dd3317502 treeview: Unify all line drawing into the same function
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-07-26 16:42:47 +02:00
Benjamin Otte
526aac1fda treeview: Draw column reordering arrows with Cairo 2010-07-26 16:42:47 +02:00
Benjamin Otte
41621e212b ruler: Replace gdk_draw_drawable calls with Cairo
and get rid of the custom GC
2010-07-26 16:42:47 +02:00
Benjamin Otte
5fd0c28c78 menu: replace gdk_draw_drawable() call with Cairo equivalent 2010-07-26 16:42:47 +02:00
Benjamin Otte
671c506dfc filechooser: Remove commented out code
It wouldn't compile with current APIs anyway
2010-07-26 16:42:47 +02:00
Benjamin Otte
4181abd69a progressbar: Use cairo instead of gdk_draw_drawable() 2010-07-26 16:42:47 +02:00
Benjamin Otte
6eed185502 spinner: We want the default colormap, not the RGB colormap
GtkSpinner doesn't use GdkRGB
2010-07-26 16:42:46 +02:00
Benjamin Otte
8f6a014de4 image: Use Cairo instead of gdk_draw_drawable() 2010-07-26 16:42:46 +02:00
Benjamin Otte
847d401df3 image: replace gdk_draw_pixbuf() call with Cairo equivalent 2010-07-26 16:42:46 +02:00
Benjamin Otte
0310626938 textview: draw dnd icon with Pango 2010-07-26 16:42:46 +02:00
Benjamin Otte
dec093d9f1 textview: Draw selection background with Cairo 2010-07-26 16:42:46 +02:00
Benjamin Otte
3e469d737e textview: Draw drag icons using Cairo 2010-07-26 16:42:46 +02:00
Benjamin Otte
f1074be1ed textview: Use _gtk_widget_get_cursor_color() and Cairo
Previously the code was using _gtk_widget_get_cursor_gc()
2010-07-26 16:42:46 +02:00
Benjamin Otte
8c035b6048 textview: Draw empty shape logo with Cairo 2010-07-26 16:42:46 +02:00
Benjamin Otte
373128ce29 textview: replace gdk_draw_pixbuf() call with Cairo version 2010-07-26 16:42:46 +02:00