diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-12-15 01:46:41 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-12-15 01:46:41 +0000 |
commit | 6e5a269f38ad682e116e94efac287fa4ddc46b7f (patch) | |
tree | 25b336984ac15be84beb85ff71b3d99c11b861ed /gdk/gdkpixmap.c | |
parent | 2142a98c9e8826323941ec3da2c75325ca00eb52 (diff) | |
download | gtk+-6e5a269f38ad682e116e94efac287fa4ddc46b7f.tar.gz |
Add two virtualized functions gdk_drawable_get_clip_region - to get the
Thu Dec 14 20:22:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/{gdkdrawable.[ch],gdkpixmap.c,gdkwindow.c,x11/gdkwindow.c}:
Add two virtualized functions gdk_drawable_get_clip_region - to
get the clip region when drawing.
* gdk/gdkwindow.c (gdk_window_invalidate_rect): Rewrite to simple
use invalidate_region.
* gdk/gdkwindow.c (gdk_window_invalidate_region): Clip to visible
region.
* acconfig.h configure.in: Check for Xft. For now, assume
that if Xft is found, Pango was compiled with Xft support
as well.
* gdk/gdkcolor.h gdk/x11/gdkcolor-x11.c: Add
gdk_colormap_query_color().
* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_glyphs): Draw
with Xft if appropriate.
* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Create
a pangoxft context if we have XFT and the environment
variable GD_USE_XFT is set.
* gdk/x11/gdkx.h (struct _GdkGCX11): Cache the fg_pixel
and also possibly an XftDraw structure.
* gtk/gtkfontsel.c: Handle the case where the font from the
style doesn't match any of the fonts a bit better.
* gtk/testgtk.c: Add tabs between directional segments for
hebrew/arabic test. (Not really necessary, just a little
prettier.)
Diffstat (limited to 'gdk/gdkpixmap.c')
-rw-r--r-- | gdk/gdkpixmap.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c index 27fc5f631a..320320c92a 100644 --- a/gdk/gdkpixmap.c +++ b/gdk/gdkpixmap.c @@ -107,12 +107,11 @@ static void gdk_pixmap_real_get_size (GdkDrawable *drawable, gint *width, gint *height); -static GdkImage* gdk_pixmap_get_image (GdkDrawable *drawable, - gint x, - gint y, - gint width, - gint height); - +static GdkImage* gdk_pixmap_get_image (GdkDrawable *drawable, + gint x, + gint y, + gint width, + gint height); static GdkVisual* gdk_pixmap_real_get_visual (GdkDrawable *drawable); static gint gdk_pixmap_real_get_depth (GdkDrawable *drawable); |