summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-03-17 13:27:26 +0000
committerOwen Taylor <otaylor@redhat.com>2005-03-17 13:27:26 +0000
commit2ad590a0eebe8c03cb956dfaf0ce79c485c2ce3c (patch)
treedeec86fbd51c8b47bc1ef3ba8a89670b8b4dc74a
parent58420806bbbe3970747edc2efaa155651377a370 (diff)
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.
-rw-r--r--ChangeLog11
-rw-r--r--src/cairo-ft-font.c2
-rw-r--r--src/cairo-matrix.c4
-rw-r--r--src/cairo-ps-surface.c4
-rw-r--r--src/cairo-quartz-surface.c6
-rw-r--r--src/cairo-win32-font.c2
-rw-r--r--src/cairo-win32-surface.c6
-rw-r--r--src/cairo-xlib-surface.c12
-rw-r--r--src/cairo.c4
-rw-r--r--src/cairo_ft_font.c2
-rw-r--r--src/cairo_matrix.c4
-rw-r--r--src/cairo_ps_surface.c4
-rw-r--r--src/cairo_quartz_surface.c6
-rw-r--r--src/cairo_win32_font.c2
-rw-r--r--src/cairo_win32_surface.c6
-rw-r--r--src/cairo_xlib_surface.c12
16 files changed, 49 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index c307a0977..3ee446a0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-03-17 Owen Taylor <otaylor@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.
+
2005-03-17 Kristian Høgsberg <krh@redhat.com>
From Tor Lillqvist <tml@novell.com>:
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 039ab5a25..4a07fcdbb 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -1372,7 +1372,7 @@ cairo_ft_font_create (FcPattern *pattern,
* 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().
*
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c
index 161d9717e..55350c37f 100644
--- a/src/cairo-matrix.c
+++ b/src/cairo-matrix.c
@@ -297,9 +297,9 @@ _cairo_matrix_set_rotate (cairo_matrix_t *matrix,
* 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
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index a0a92dc21..2b6b02638 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -49,8 +49,8 @@ static const cairo_surface_backend_t cairo_ps_surface_backend;
* @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.
*
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 01b345cdc..dcb1f16ed 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -151,7 +151,7 @@ _cairo_quartz_surface_get_image(void *abstract_surface)
// 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 @@ _cairo_quartz_surface_get_image(void *abstract_surface)
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 @@ cairo_quartz_surface_create( CGContextRef context,
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);
diff --git a/src/cairo-win32-font.c b/src/cairo-win32-font.c
index 02f0cffd6..c0109ce34 100644
--- a/src/cairo-win32-font.c
+++ b/src/cairo-win32-font.c
@@ -1174,7 +1174,7 @@ cairo_win32_font_create_for_logfontw (LOGFONTW *logfont,
* 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.
*
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index e5a27b0eb..1ff9e3d45 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -46,7 +46,7 @@ static const cairo_surface_backend_t cairo_win32_surface_backend;
* 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 @@ _cairo_win32_surface_set_clip_region (void *abstract_surface,
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)
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index fc2f65277..f8d9d5227 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1043,13 +1043,13 @@ DEPRECATE (cairo_surface_create_for_drawable, cairo_xlib_surface_create);
* 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 @@ cairo_xlib_surface_create_for_pixmap (Display *dpy,
*
* 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 @@ cairo_xlib_surface_create_for_pixmap_with_visual (Display *dpy,
* 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 @@ cairo_xlib_surface_create_for_window_with_visual (Display *dpy,
* @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
diff --git a/src/cairo.c b/src/cairo.c
index 9f9d1b4b1..d4e2d2d69 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -795,7 +795,7 @@ cairo_curve_to (cairo_t *cr,
/**
* 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 (cairo_t *cr,
/**
* 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
diff --git a/src/cairo_ft_font.c b/src/cairo_ft_font.c
index 039ab5a25..4a07fcdbb 100644
--- a/src/cairo_ft_font.c
+++ b/src/cairo_ft_font.c
@@ -1372,7 +1372,7 @@ cairo_ft_font_create (FcPattern *pattern,
* 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().
*
diff --git a/src/cairo_matrix.c b/src/cairo_matrix.c
index 161d9717e..55350c37f 100644
--- a/src/cairo_matrix.c
+++ b/src/cairo_matrix.c
@@ -297,9 +297,9 @@ _cairo_matrix_set_rotate (cairo_matrix_t *matrix,
* 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
diff --git a/src/cairo_ps_surface.c b/src/cairo_ps_surface.c
index a0a92dc21..2b6b02638 100644
--- a/src/cairo_ps_surface.c
+++ b/src/cairo_ps_surface.c
@@ -49,8 +49,8 @@ static const cairo_surface_backend_t cairo_ps_surface_backend;
* @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.
*
diff --git a/src/cairo_quartz_surface.c b/src/cairo_quartz_surface.c
index 01b345cdc..dcb1f16ed 100644
--- a/src/cairo_quartz_surface.c
+++ b/src/cairo_quartz_surface.c
@@ -151,7 +151,7 @@ _cairo_quartz_surface_get_image(void *abstract_surface)
// 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 @@ _cairo_quartz_surface_get_image(void *abstract_surface)
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 @@ cairo_quartz_surface_create( CGContextRef context,
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);
diff --git a/src/cairo_win32_font.c b/src/cairo_win32_font.c
index 02f0cffd6..c0109ce34 100644
--- a/src/cairo_win32_font.c
+++ b/src/cairo_win32_font.c
@@ -1174,7 +1174,7 @@ cairo_win32_font_create_for_logfontw (LOGFONTW *logfont,
* 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.
*
diff --git a/src/cairo_win32_surface.c b/src/cairo_win32_surface.c
index e5a27b0eb..1ff9e3d45 100644
--- a/src/cairo_win32_surface.c
+++ b/src/cairo_win32_surface.c
@@ -46,7 +46,7 @@ static const cairo_surface_backend_t cairo_win32_surface_backend;
* 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 @@ _cairo_win32_surface_set_clip_region (void *abstract_surface,
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)
diff --git a/src/cairo_xlib_surface.c b/src/cairo_xlib_surface.c
index fc2f65277..f8d9d5227 100644
--- a/src/cairo_xlib_surface.c
+++ b/src/cairo_xlib_surface.c
@@ -1043,13 +1043,13 @@ DEPRECATE (cairo_surface_create_for_drawable, cairo_xlib_surface_create);
* 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 @@ cairo_xlib_surface_create_for_pixmap (Display *dpy,
*
* 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 @@ cairo_xlib_surface_create_for_pixmap_with_visual (Display *dpy,
* 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 @@ cairo_xlib_surface_create_for_window_with_visual (Display *dpy,
* @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