summaryrefslogtreecommitdiff
path: root/cairomm/xlib_surface.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2006-06-27 01:46:13 +0000
committerJonathon Jongsma <jjongsma@gnome.org>2006-06-27 01:46:13 +0000
commit96eca5da1cc418021fac9c6c497dc9dc3167d53c (patch)
treeb3ba8c147968aa0e0911832c39820878a4e5d221 /cairomm/xlib_surface.h
parent35cab8ca4832146a82153992257e866679033775 (diff)
2006-06-26 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* cairomm/surface.cc, cairomm/surface.h: add new PsSurface and PdfSurface API: set_size, dsc_comment, dsc_begin_setup, dsc_begin_page_setup * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new XlibSurface API: get_display, get_drawable, get_screen, get_visual, get_depth
Diffstat (limited to 'cairomm/xlib_surface.h')
-rw-r--r--cairomm/xlib_surface.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cairomm/xlib_surface.h b/cairomm/xlib_surface.h
index 8231099..995dcc8 100644
--- a/cairomm/xlib_surface.h
+++ b/cairomm/xlib_surface.h
@@ -110,6 +110,20 @@ public:
*/
void set_drawable(Drawable drawable, int width, int height);
+ /** gets the Drawable object associated with this surface
+ */
+ Drawable get_drawable() const;
+
+ const Display* get_display() const;
+ Display* get_display();
+
+ Screen* get_screen();
+ const Screen* get_screen() const;
+
+ Visual* get_visual();
+ const Visual* get_visual() const;
+ int get_depth() const;
+
};
#endif // CAIRO_HAS_XLIB_SURFACE