#include <gdk/gdktypes.h>#include <gdk/gdkgc.h>Go to the source code of this file.
| typedef struct _GdkDrawableClass GdkDrawableClass |
Definition at line 11 of file gdkdrawable.h.
| enum GdkDrawableType |
Definition at line 33 of file gdkdrawable.h.
| void gdk_draw_arc | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| gint | filled, | |||
| gint | x, | |||
| gint | y, | |||
| gint | width, | |||
| gint | height, | |||
| gint | angle1, | |||
| gint | angle2 | |||
| ) |
Definition at line 194 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, _GdkDrawablePrivate::height, NULL, and _GdkDrawablePrivate::width.
| void gdk_draw_drawable | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| GdkDrawable * | src, | |||
| gint | xsrc, | |||
| gint | ysrc, | |||
| gint | xdest, | |||
| gint | ydest, | |||
| gint | width, | |||
| gint | height | |||
| ) |
Definition at line 290 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, and NULL.
Referenced by gdk_pixmap_create_from_data(), and gdk_win32_gc_values_to_win32values().
| void gdk_draw_image | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| GdkImage * | image, | |||
| gint | xsrc, | |||
| gint | ysrc, | |||
| gint | xdest, | |||
| gint | ydest, | |||
| gint | width, | |||
| gint | height | |||
| ) |
Definition at line 316 of file gdkdraw.c.
References g_return_if_fail, image, _GdkImageClass::image_put, _GdkImagePrivate::klass, and NULL.
Referenced by _gdk_pixmap_create_from_xpm(), gdk_draw_rgb_image_core(), TGWin32::PutImage(), TGWin32::RenderString(), and TGWin32::SetOpacity().
Definition at line 148 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, and NULL.
Referenced by _gdk_pixmap_create_from_xpm(), TGWin32::DrawLine(), TGWin32::RequestLocator(), and test_one_line_on_drawable().
| void gdk_draw_lines | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| GdkPoint * | points, | |||
| gint | npoints | |||
| ) |
Definition at line 380 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, NULL, and points.
| void gdk_draw_point | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| gint | x, | |||
| gint | y | |||
| ) |
Definition at line 128 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, NULL, POINT::x, and POINT::y.
Referenced by test_one_point_on_drawable().
| void gdk_draw_points | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| GdkPoint * | points, | |||
| gint | npoints | |||
| ) |
Definition at line 341 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, NULL, and points.
| void gdk_draw_polygon | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| gint | filled, | |||
| GdkPoint * | points, | |||
| gint | npoints | |||
| ) |
Definition at line 222 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, NULL, and points.
| void gdk_draw_rectangle | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| gint | filled, | |||
| gint | x, | |||
| gint | y, | |||
| gint | width, | |||
| gint | height | |||
| ) |
Definition at line 170 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, _GdkDrawablePrivate::height, NULL, and _GdkDrawablePrivate::width.
Referenced by _gdk_pixmap_create_from_xpm(), test_arcs(), test_lines(), test_one_rectangle_on_drawable(), test_points(), and test_rectangles().
| void gdk_draw_segments | ( | GdkDrawable * | drawable, | |
| GdkGC * | gc, | |||
| GdkSegment * | segs, | |||
| gint | nsegs | |||
| ) |
Definition at line 360 of file gdkdraw.c.
References g_return_if_fail, GDK_DRAWABLE_DESTROYED, NULL, and segs.
| void gdk_draw_text | ( | GdkDrawable * | drawable, | |
| GdkFont * | font, | |||
| GdkGC * | gc, | |||
| gint | x, | |||
| gint | y, | |||
| const gchar * | text, | |||
| gint | text_length | |||
| ) |
Definition at line 258 of file gdkdraw.c.
References g_return_if_fail, and NULL.
Referenced by gdk_draw_string().
| GdkDrawable* gdk_drawable_alloc | ( | void | ) |
Definition at line 33 of file gdkdraw.c.
References FALSE, g_new, GDK_WINDOW_CHILD, NULL, and _GdkDrawable::user_data.
Referenced by gdk_win32_pixmap_alloc().
| GdkColormap* gdk_drawable_get_colormap | ( | GdkDrawable * | drawable | ) |
Definition at line 112 of file gdkdrawable-win32.c.
References _GdkDrawablePrivate::colormap, g_return_val_if_fail, gdk_colormap_get_system(), GDK_DRAWABLE_DESTROYED, and NULL.
Referenced by _gdk_pixmap_create_from_xpm(), and gdk_drawable_get_visual().
| void gdk_drawable_get_data | ( | GdkDrawable * | drawable, | |
| const gchar * | key | |||
| ) |
Definition at line 75 of file gdkdraw.c.
References g_return_if_fail, _GdkDrawablePrivate::height, NULL, and _GdkDrawablePrivate::width.
Referenced by TGWin32::CreatePictureFromFile(), gdk_win32_gc_values_to_win32values(), gdk_window_set_icon(), TGWin32::GetWindowSize(), TGWin32::OpenPixmap(), and TGWin32::ResizePixmap().
| GdkDrawableType gdk_drawable_get_type | ( | GdkDrawable * | window | ) |
Definition at line 67 of file gdkdraw.c.
References g_return_val_if_fail, GDK_DRAWABLE_TYPE, and NULL.
| GdkVisual* gdk_drawable_get_visual | ( | GdkDrawable * | drawable | ) |
Definition at line 89 of file gdkdraw.c.
References g_return_val_if_fail, gdk_colormap_get_visual(), gdk_drawable_get_colormap(), and NULL.
Referenced by _gdk_pixmap_create_from_xpm(), gdk_pixmap_new(), and gdk_window_get_geometry().
| GdkDrawable* gdk_drawable_ref | ( | GdkDrawable * | drawable | ) |
Definition at line 99 of file gdkdraw.c.
References g_return_val_if_fail, and NULL.
Referenced by gdk_gc_copy(), gdk_win32_gc_values_to_win32values(), gdk_window_foreign_new(), gdk_window_new(), and gdk_window_set_back_pixmap().
| void gdk_drawable_set_colormap | ( | GdkDrawable * | drawable, | |
| GdkColormap * | colormap | |||
| ) |
Definition at line 130 of file gdkdrawable-win32.c.
References _GdkColormapPrivateWin32::base, _GdkDrawablePrivate::colormap, g_print(), g_return_if_fail, gdk_colormap_ref(), gdk_colormap_unref(), GDK_DRAWABLE_DESTROYED, GDK_DRAWABLE_XID, GDK_IS_WINDOW, GDK_NOTE, gdk_window_add_colormap_windows(), GDK_WINDOW_TOPLEVEL, NULL, _GdkColormapPrivate::visual, _GdkDrawablePrivate::window_type, and _GdkColormapPrivateWin32::xcolormap.
| void gdk_drawable_set_data | ( | GdkDrawable * | drawable, | |
| const gchar * | key, | |||
| gpointer | data, | |||
| GDestroyNotify | destroy_func | |||
| ) |
Definition at line 55 of file gdkdraw.c.
References g_dataset_set_data_full.
Referenced by _gdk_pixmap_create_from_xpm().
| void gdk_drawable_unref | ( | GdkDrawable * | drawable | ) |
Definition at line 108 of file gdkdraw.c.
References g_dataset_destroy(), g_free(), g_print(), g_return_if_fail, GDK_NOTE, NULL, and private.
Referenced by gdk_gc_copy(), gdk_pixmap_create_from_data(), gdk_win32_gc_destroy(), gdk_win32_gc_get_values(), gdk_win32_gc_values_to_win32values(), gdk_win32_window_destroy(), gdk_window_destroy(), gdk_window_destroy_notify(), gdk_window_set_back_pixmap(), and gdk_window_set_background().
1.5.1