|
static Glib::RefPtr< Bitmap > | create (const char *data, int width, int height) |
|
static Glib::RefPtr< Bitmap > | create (const Glib::RefPtr< Gdk::Drawable > &drawable, const char *data, int width, int height) |
|
static GType | get_type () G_GNUC_CONST |
|
static Glib::RefPtr< Pixmap > | create (const Glib::RefPtr< Drawable > &drawable, int width, int height, int depth=-1) |
|
static Glib::RefPtr< Pixmap > | create (const Glib::RefPtr< Drawable > &drawable, const char *data, int width, int height, int depth, const Color &fg, const Color &bg) |
|
static Glib::RefPtr< Pixmap > | create (const Glib::RefPtr< Display > &display, NativeWindow anid) |
|
static Glib::RefPtr< Pixmap > | create_from_data (const Glib::RefPtr< const Drawable > &drawable, const char *data, int width, int height, int depth, const Color &fg, const Color &bg) |
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< const Drawable > &drawable, const Color &transparent_color, const std::string &filename) |
| Create a Pixmap from a xpm file. More...
|
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< const Drawable > &drawable, Glib::RefPtr< Bitmap > &mask, const Color &transparent_color, const std::string &filename) |
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< const Drawable > &drawable, const Glib::RefPtr< Colormap > &colormap, Glib::RefPtr< Bitmap > &mask, const Color &transparent_color, const std::string &filename) |
| Create a Pixmap from a xpm file with colormap. More...
|
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< const Drawable > &drawable, Glib::RefPtr< Bitmap > &mask, const Color &transparent_color, const char *const *data) |
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< const Drawable > &drawable, const Glib::RefPtr< Colormap > &colormap, Glib::RefPtr< Bitmap > &mask, const Color &transparent_color, const char *const *data) |
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< Colormap > &colormap, Glib::RefPtr< Bitmap > &mask, const Color &transparent_color, const char *const *data) |
|
static Glib::RefPtr< Pixmap > | create_from_xpm (const Glib::RefPtr< Colormap > &colormap, Glib::RefPtr< Bitmap > &mask, const char *const *data) |
|
static GType | get_type () G_GNUC_CONST |
|
static Glib::RefPtr< Drawable > | create () |
|
|
virtual | ~Pixmap () |
|
GdkPixmap * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GdkPixmap * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GdkPixmap * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
virtual | ~Drawable () |
|
GdkDrawable * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GdkDrawable * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GdkDrawable * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | get_size (int &width, int &height) |
|
void | get_size (int &width, int &height) const |
|
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 n_segs) |
|
void | draw_glyphs (const Glib::RefPtr< const GC > &gc, const Glib::RefPtr< const Pango::Font > &font, int x, int y, const Pango::GlyphString &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) |
|
void | draw_pixbuf (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 |
|
void | copy_to_image (const Glib::RefPtr< Image > &image, int src_x, int src_y, int dest_x, int dest_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 *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 |
|
Cairo::RefPtr< Cairo::Context > | create_cairo_context () |
|
Glib::RefPtr< Gdk::Pixmap > | wrap (GdkPixmapObject *object, bool take_copy=false) |
|
Glib::RefPtr< Gdk::Drawable > | wrap (GdkDrawable *object, bool take_copy=false) |
|
Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off).
Definition at line 43 of file bitmap.h.