[cairo-commit] cairomm/cairomm xlib_surface.h,1.5,1.6

Jonathon Jongsma commit at pdx.freedesktop.org
Tue Jul 4 11:46:48 PDT 2006


Committed by: jjongsma

Update of /cvs/cairo/cairomm/cairomm
In directory kemper:/tmp/cvs-serv31949/cairomm

Modified Files:
	xlib_surface.h 
Log Message:
2006-07-04  Jonathon Jongsma  <jonathon.jongsma at gmail.com>

	* cairomm/xlib_surface.h: add a bit more documentation for the new
	XlibSurface API


Index: xlib_surface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/xlib_surface.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- xlib_surface.h	1 Jul 2006 02:58:49 -0000	1.5
+++ xlib_surface.h	4 Jul 2006 18:46:46 -0000	1.6
@@ -110,26 +110,31 @@
    */
   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;
 
 };



More information about the cairo-commit mailing list