#include "gdkdrawable.h"
#include "gdkprivate.h"
#include "gdkwindow.h"
Go to the source code of this file.
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().
void gdk_drawable_get_data | ( | GdkDrawable * | drawable, | |
const gchar * | key | |||
) |
void gdk_drawable_get_size | ( | GdkDrawable * | drawable, | |
gint * | width, | |||
gint * | height | |||
) |
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 * | drawable | ) |
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_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().