[cairo-commit] cairo/src cairo.c, 1.58, 1.59 cairo_ft_font.c, 1.45, 1.46 cairo_matrix.c, 1.19, 1.20 cairo_ps_surface.c, 1.26, 1.27 cairo_quartz_surface.c, 1.3, 1.4 cairo_win32_font.c, 1.9, 1.10 cairo_win32_surface.c, 1.10, 1.11 cairo_xlib_surface.c, 1.50, 1.51

Owen Taylor commit at pdx.freedesktop.org
Thu Mar 17 13:27:37 PST 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv11413/src

Modified Files:
	cairo.c cairo_ft_font.c cairo_matrix.c cairo_ps_surface.c 
	cairo_quartz_surface.c cairo_win32_font.c 
	cairo_win32_surface.c cairo_xlib_surface.c 
Log Message:
2005-03-17  Owen Taylor  <otaylor at redhat.com>

        * src/cairo_matrix.c (cairo_matrix_rotate): doc fix -
        90 degrees is MI_PI/2 radians.

        * src/cairo.c src/cairo_matrix.c  src/cairo_ft_font.c
        src/cairo_ps_surface.c src/cairo_quartz_surface.c
        src/cairo_win32_font.c src/cairo_win32_surface.c
        src/cairo_xlib_surface.c: Cairo is only capitalized
        at the beginning of sentences.


Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- cairo.c	16 Mar 2005 20:08:41 -0000	1.58
+++ cairo.c	17 Mar 2005 21:27:26 -0000	1.59
@@ -795,7 +795,7 @@
 
 /**
  * cairo_arc:
- * @cr: a Cairo context
+ * @cr: a cairo context
  * @xc: X position of the center of the arc
  * @yc: Y position of the center of the arc
  * @radius: the radius of the arc
@@ -845,7 +845,7 @@
 
 /**
  * cairo_arc_negative:
- * @cr: a Cairo context
+ * @cr: a cairo context
  * @xc: X position of the center of the arc
  * @yc: Y position of the center of the arc
  * @radius: the radius of the arc

Index: cairo_ft_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_ft_font.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- cairo_ft_font.c	9 Mar 2005 20:35:36 -0000	1.45
+++ cairo_ft_font.c	17 Mar 2005 21:27:26 -0000	1.46
@@ -1372,7 +1372,7 @@
  * Creates a new font forthe FreeType font backend from a pre-opened
  * FreeType face. This font can then be used with cairo_set_font(),
  * cairo_font_glyph_extents(), or FreeType backend specific
- * functions like cairo_ft_font_lock_face() Cairo will determine the
+ * functions like cairo_ft_font_lock_face() cairo will determine the
  * pixel size and transformation from the @scale parameter and call
  * FT_Set_Transform() and FT_Set_Pixel_Sizes().
  * 

Index: cairo_matrix.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_matrix.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- cairo_matrix.c	17 Mar 2005 19:24:00 -0000	1.19
+++ cairo_matrix.c	17 Mar 2005 21:27:26 -0000	1.20
@@ -297,9 +297,9 @@
  * cairo_matrix_rotate:
  * @matrix: a @cairo_matrix_t
  * @radians: angle of rotation, in radians. Angles are defined
- *  so that an angle of 90 degrees (%M_PI radians) rotates the
+ *  so that an angle of 90 degrees (%M_PI/2 radians) rotates the
  *  positive X axis into the positive Y axis. With the default
- *  Cairo choice of axis orientation, positive rotations are
+ *  cairo choice of axis orientation, positive rotations are
  *  clockwise.
  * 
  * Applies rotation by @radians to the transformation in

Index: cairo_ps_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_ps_surface.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- cairo_ps_surface.c	16 Mar 2005 20:08:41 -0000	1.26
+++ cairo_ps_surface.c	17 Mar 2005 21:27:26 -0000	1.27
@@ -49,8 +49,8 @@
  * @width_inches: width of the output page, in inches
  * @height_inches: height of the output page, in inches
  * @x_pixels_per_inch: X resolution to use for image fallbacks;
- *   not all Cairo drawing can be represented in a postscript
- *   file, so Cairo will write out images for some portions
+ *   not all cairo drawing can be represented in a postscript
+ *   file, so cairo will write out images for some portions
  *   of the output.
  * @y_pixels_per_inch: Y resolution to use for image fallbacks.
  * 

Index: cairo_quartz_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_quartz_surface.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cairo_quartz_surface.c	21 Jan 2005 22:33:48 -0000	1.3
+++ cairo_quartz_surface.c	17 Mar 2005 21:27:26 -0000	1.4
@@ -151,7 +151,7 @@
     
     
     // We keep a cached (cairo_image_surface_t *) in the cairo_quartz_surface_t
-    // struct. If the window is ever drawn to without going through Cairo, then
+    // struct. If the window is ever drawn to without going through cairo, then
     // we would need to refetch the pixel data from the window into the cached
     // image surface. 
     if (surface->image)
@@ -195,7 +195,7 @@
 								rowBytes);
     
     
-    // Set the image surface Cairo state to match our own. 
+    // Set the image surface cairo state to match our own. 
     _cairo_image_surface_set_repeat(surface->image, surface->base.repeat);
     _cairo_image_surface_set_matrix(surface->image, &(surface->base.matrix));
     
@@ -381,7 +381,7 @@
     surface->cgImage	    = NULL;
     
     
-    // Set up the image surface which Cairo draws into and we blit to & from. 
+    // Set up the image surface which cairo draws into and we blit to & from. 
     surface->image	    = _cairo_quartz_surface_get_image(surface);
     
     

Index: cairo_win32_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_win32_font.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cairo_win32_font.c	4 Mar 2005 18:43:24 -0000	1.9
+++ cairo_win32_font.c	17 Mar 2005 21:27:26 -0000	1.10
@@ -1174,7 +1174,7 @@
  * map mode and world transformation of the device context to match
  * that of the font. This function is intended for use when using
  * layout APIs such as Uniscribe to do text layout with the
- * Cairo font. After finishing using the device context, you must call
+ * cairo font. After finishing using the device context, you must call
  * cairo_win32_font_done_font() to release any resources allocated
  * by this function.
  *

Index: cairo_win32_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_win32_surface.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo_win32_surface.c	16 Mar 2005 20:08:41 -0000	1.10
+++ cairo_win32_surface.c	17 Mar 2005 21:27:26 -0000	1.11
@@ -46,7 +46,7 @@
  * Helper function to dump out a human readable form of the
  * current error code.
  *
- * Return value: A Cairo status code for the error code
+ * Return value: A cairo status code for the error code
  **/
 cairo_status_t
 _cairo_win32_print_gdi_error (const char *context)
@@ -739,14 +739,14 @@
     if (surface->image)
 	_cairo_surface_set_clip_region (surface->image, region);
 
-    /* The semantics we want is that any clip set by Cairo combines
+    /* The semantics we want is that any clip set by cairo combines
      * is intersected with the clip on device context that the
      * surface was created for. To implement this, we need to
      * save the original clip when first setting a clip on surface.
      */
 
     if (region == NULL) {
-	/* Clear any clip set by Cairo, return to the original */
+	/* Clear any clip set by cairo, return to the original */
 	
 	if (surface->set_clip) {
 	    if (SelectClipRgn (surface->dc, surface->saved_clip) == ERROR)

Index: cairo_xlib_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xlib_surface.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- cairo_xlib_surface.c	17 Mar 2005 20:57:43 -0000	1.50
+++ cairo_xlib_surface.c	17 Mar 2005 21:27:26 -0000	1.51
@@ -1043,13 +1043,13 @@
  * cairo_xlib_surface_create_for_pixmap:
  * @dpy: an X display
  * @pixmap: an X pixmap
- * @format: a standard Cairo pixel data format. The depth (number of
+ * @format: a standard cairo pixel data format. The depth (number of
  *          of bits used) for the format must match the depth of
  *          @pixmap.
  *
  * Creates an Xlib surface that draws to the given pixmap.
  * The way that colors are represented in the pixmap is specified
- * by giving one of Cairo's standard pixel data formats.
+ * by giving one of cairo's standard pixel data formats.
  *
  * For maximum efficiency, if you know the size of the pixmap,
  * you should call cairo_xlib_surface_set_size().
@@ -1080,7 +1080,7 @@
  * 
  * Normally, you would use this function instead of
  * cairo_xlib_surface_create_for_pixmap() when you double-buffering by
- * using Cairo to draw to pixmap and then XCopyArea() to copy the
+ * using cairo to draw to pixmap and then XCopyArea() to copy the
  * results to a window. In that case, @visual is the visual of the
  * window.
  *
@@ -1110,7 +1110,7 @@
  * Creates a new XLib backend surface that draws to the given Window.
  *
  * For maximum efficiency, you should use cairo_xlib_surface_set_size()
- * to inform Cairo of the size of the window.
+ * to inform cairo of the size of the window.
  * 
  * Return value: the newly created surface. 
  **/
@@ -1131,8 +1131,8 @@
  * @width: the new width of the surface
  * @height: the new height of the surface
  * 
- * Informs Cairo of the size of the X drawable underlying the
- * surface. This allows Cairo to avoid querying the server for the
+ * Informs cairo of the size of the X drawable underlying the
+ * surface. This allows cairo to avoid querying the server for the
  * size, which can be a significant performance bottleneck.
  *
  * For a surface created for a pixmap, it is only necessary to call




More information about the cairo-commit mailing list