|
Public Member Functions |
virtual | ~Drawable () |
GdkDrawable* | gobj () |
| Provides access to the underlying C GObject.
|
const GdkDrawable* | gobj () const |
| Provides access to the underlying C GObject.
|
GdkDrawable* | gobj_copy () |
void | get_size (int& width, int& height) |
int | get_depth () const |
void | set_colormap (const Glib::RefPtr<Colormap>& colormap) |
Glib::RefPtr<Colormap> | get_colormap () |
Glib::RefPtr<Visual> | get_visual () |
void | draw_point (const Glib::RefPtr<const GC>& gc, int x, int y) |
void | draw_points (const Glib::RefPtr<const GC>& gc, const Glib::ArrayHandle<Point>& points) |
void | draw_line (const Glib::RefPtr<const GC>& gc, int x1, int y1, int x2, int y2) |
void | draw_lines (const Glib::RefPtr<const GC>& gc, const Glib::ArrayHandle<Point>& points) |
void | draw_rectangle (const Glib::RefPtr<const GC>& gc, bool filled, int x, int y, int width, int height) |
void | draw_arc (const Glib::RefPtr<const GC>& gc, bool filled, int x, int y, int width, int height, int angle1, int angle2) |
void | draw_polygon (const Glib::RefPtr<const GC>& gc, bool filled, const Glib::ArrayHandle<Point>& points) |
void | draw_drawable (const Glib::RefPtr<const GC>& gc, const Glib::RefPtr<const Drawable>& src, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1) |
void | draw_image (const Glib::RefPtr<const GC>& gc, const Glib::RefPtr<const Image>& image, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1) |
void | draw_segments (const Glib::RefPtr<const GC>& gc, GdkSegment* segs, int nsegs) |
void | draw_glyphs (const Glib::RefPtr<const GC>& gc, const Glib::RefPtr<const Pango::Font>& font, int x, int y, PangoGlyphString* glyphs) |
void | draw_layout_line (const Glib::RefPtr<const GC>& gc, int x, int y, const Glib::RefPtr<const Pango::LayoutLine>& line) |
void | draw_layout_line (const Glib::RefPtr<const GC>& gc, int x, int y, const Glib::RefPtr<const Pango::LayoutLine>& line, const Color& foreground, const Color& background) |
void | draw_layout (const Glib::RefPtr<const GC>& gc, int x, int y, const Glib::RefPtr<const Pango::Layout>& layout) |
void | draw_layout (const Glib::RefPtr<const GC>& gc, int x, int y, const Glib::RefPtr<const Pango::Layout>& layout, const Color& foreground, const Color& background) |
void | draw_pixbuf (const Glib::RefPtr<const GC>& gc, const Glib::RefPtr<Pixbuf>& pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, RgbDither dither, int x_dither, int y_dither) |
Glib::RefPtr<Image> | get_image (int x, int y, int width, int height) const |
Region | get_clip_region () const |
Region | get_visible_region () const |
void | draw_rgb_image (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride) |
void | draw_rgb_image_dithalign (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride, int xdith, int ydith) |
void | draw_rgb_32_image (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride) |
void | draw_rgb_32_image_dithalign (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride, int xdith, int ydith) |
void | draw_gray_image (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride) |
void | draw_indexed_image (const Glib::RefPtr<const GC>& gc, int x, int y, int width, int height, RgbDither dith, const guchar* rgb_buf, int rowstride, const RgbCmap& cmap) |
Glib::RefPtr<Screen> | get_screen () |
Glib::RefPtr<const Screen> | get_screen () const |
Glib::RefPtr<Display> | get_display () |
Glib::RefPtr<const Display> | get_display () const |
Static Public Member Functions |
Glib::RefPtr<Drawable> | create () |
Protected Member Functions |
| Drawable () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gdk::Drawable> | wrap (GdkDrawable* object, bool take_copy=false) |
Gdk::Drawable is the base class for all of the objects that accept drawing commands. The available drawables include pixmaps, windows, and bitmaps. Drawable is abstract as there is no such type on the server side.