diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2006-07-04 18:46:46 +0000 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2006-07-04 18:46:46 +0000 |
commit | 30213c059a7a8d926aeec43b0405f234cc42dc16 (patch) | |
tree | aaf4a24540b549475b7e2a24329ef274771ab5a7 | |
parent | 536a84772e314d1b1392f0959f13bff898b821c7 (diff) |
2006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* cairomm/xlib_surface.h: add a bit more documentation for the new
XlibSurface API
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | cairomm/xlib_surface.h | 17 |
2 files changed, 16 insertions, 6 deletions
@@ -1,5 +1,10 @@ 2006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com> + * cairomm/xlib_surface.h: add a bit more documentation for the new + XlibSurface API + +2006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com> + * cairomm/surface.cc, cairomm/surface.h: added SvgSurface::get_versions() and SvgSurface::version_to_string() API. They're implemented as static members right now. diff --git a/cairomm/xlib_surface.h b/cairomm/xlib_surface.h index f09bbdd..d47c43a 100644 --- a/cairomm/xlib_surface.h +++ b/cairomm/xlib_surface.h @@ -110,26 +110,31 @@ public: */ void set_drawable(Drawable drawable, int width, int height); - /** gets the Drawable object associated with this surface - */ + /** gets the Drawable object associated with this surface */ Drawable get_drawable() const; + /** Get the X Display for the underlying X Drawable. */ const Display* get_display() const; + /** Get the X Display for the underlying X Drawable. */ Display* get_display(); + /** Get the X Screen for the underlying X Drawable */ Screen* get_screen(); + /** Get the X Screen for the underlying X Drawable */ const Screen* get_screen() const; + /** Get the X Visual for the underlying X Drawable */ Visual* get_visual(); + /** Get the X Visual for the underlying X Drawable */ const Visual* get_visual() const; + + /** Get the number of bits used to represent each pixel value. */ int get_depth() const; - /** Get the height in pixels of the X Drawable underlying the surface - */ + /** Get the height in pixels of the X Drawable underlying the surface */ int get_height() const; - /** Get the width in pixels of the X Drawable underlying the surface - */ + /** Get the width in pixels of the X Drawable underlying the surface */ int get_width() const; }; |