[cairo-commit] pixman/src src/cairo-matrix.c
src/cairo-pdf-surface.c src/cairo-win32-surface.c
src/cairo-xcb-surface.c src/cairo-xlib-surface.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sat Jan 6 22:35:37 PST 2007
- Previous message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
Antialias.java, 1.4, 1.5 CairoObject.java, 1.5,
1.6 Context.java, 1.15, 1.16 Extend.java, 1.6, 1.7 Filter.java,
1.6, 1.7 FontExtents.java, 1.7, 1.8 FontFace.java, 1.7,
1.8 Glyph.java, 1.9, 1.10 Gradient.java, 1.5,
1.6 HintMetrics.java, 1.4, 1.5 HintStyle.java, 1.4,
1.5 ImageSurface.java, 1.14, 1.15 Matrix.java, 1.14,
1.15 Operator.java, 1.7, 1.8 PDFSurface.java, 1.8,
1.9 Pattern.java, 1.12, 1.13 Rectangle.java, 1.4,
1.5 ScaledFont.java, 1.7, 1.8 SubpixelOrder.java, 1.4,
1.5 Surface.java, 1.20, 1.21 SurfacePattern.java, 1.4,
1.5 TextExtents.java, 1.8, 1.9
- Next message: [cairo-commit] doc/public src/cairo-array.c src/cairo-cache.c
src/cairo-font-options.c src/cairo-ft-font.c
src/cairo-gstate.c src/cairo-image-surface.c src/cairo-lzw.c
src/cairo-meta-surface.c src/cairo-path-stroke.c
src/cairo-pattern.c src/cairo-pdf-surface.c
src/cairo-ps-surface.c src/cairo-scaled-font.c
src/cairo-surface.c src/cairo-type1-fallback.c
src/cairo-unicode.c src/cairo-wideint.c src/cairo-win32-surface.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
pixman/src/pixregion.c | 2 +-
src/cairo-matrix.c | 2 +-
src/cairo-pdf-surface.c | 20 ++++++++++----------
src/cairo-win32-surface.c | 2 +-
src/cairo-xcb-surface.c | 4 ++--
src/cairo-xlib-surface.c | 10 +++++-----
6 files changed, 20 insertions(+), 20 deletions(-)
New commits:
diff-tree caa3c2e1e7901031488f5dae243a755a4e4daec9 (from c96a71e709e537f690da6d4a184aa4c64fe11028)
Author: Alp Toker <alp at atoker.com>
Date: Sun Jan 7 02:03:30 2007 +0000
Fix various code/comment typos
diff --git a/pixman/src/pixregion.c b/pixman/src/pixregion.c
index 5112157..0404dff 100644
--- a/pixman/src/pixregion.c
+++ b/pixman/src/pixregion.c
@@ -1421,7 +1421,7 @@ QuickSortRects(
* Step 2. Split the rectangles into the minimum number of proper y-x
* banded regions. This may require horizontally merging
* rectangles, and vertically coalescing bands. With any luck,
- * this step in an identity tranformation (ala the Box widget),
+ * this step in an identity transformation (ala the Box widget),
* or a coalescing into 1 box (ala Menus).
*
* Step 3. Merge the separate regions down to a single region by calling
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c
index d4f4bf7..b689f2a 100644
--- a/src/cairo-matrix.c
+++ b/src/cairo-matrix.c
@@ -102,7 +102,7 @@ slim_hidden_def(cairo_matrix_init);
* @x0: location to store x0 (X-translation component) of matrix, or %NULL
* @y0: location to store y0 (Y-translation component) of matrix, or %NULL
*
- * Gets the matrix values for the affine tranformation that @matrix represents.
+ * Gets the matrix values for the affine transformation that @matrix represents.
* See cairo_matrix_init().
*
*
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index a59cd99..2778d34 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -626,7 +626,7 @@ compress_dup (const void *data, unsigned
}
/* Emit alpha channel from the image into the given data, providing
- * and id that can be used to reference the resulting SMask object.
+ * an id that can be used to reference the resulting SMask object.
*
* In the case that the alpha channel happens to be all opaque, then
* no SMask object will be emitted and *id_ret will be set to 0.
@@ -1006,7 +1006,7 @@ emit_linear_colorgradient (cairo_pdf_sur
}
static cairo_pdf_resource_t
-emit_stiched_colorgradient (cairo_pdf_surface_t *surface,
+emit_stitched_colorgradient (cairo_pdf_surface_t *surface,
unsigned int n_stops,
cairo_pdf_color_stop_t stops[])
{
@@ -1020,7 +1020,7 @@ emit_stiched_colorgradient (cairo_pdf_su
&stops[i+1]);
}
- /* ... and stich them together */
+ /* ... and stitch them together */
function = _cairo_pdf_surface_new_object (surface);
_cairo_output_stream_printf (surface->output,
"%d 0 obj\r\n"
@@ -1065,7 +1065,7 @@ emit_stiched_colorgradient (cairo_pdf_su
return function;
}
-#define COLOR_STOP_EPSILLON 1e-6
+#define COLOR_STOP_EPSILON 1e-6
static cairo_pdf_resource_t
emit_pattern_stops (cairo_pdf_surface_t *surface, cairo_gradient_pattern_t *pattern)
@@ -1095,13 +1095,13 @@ emit_pattern_stops (cairo_pdf_surface_t
/* make sure first offset is 0.0 and last offset is 1.0. (Otherwise Acrobat
* Reader chokes.) */
- if (stops[0].offset > COLOR_STOP_EPSILLON) {
+ if (stops[0].offset > COLOR_STOP_EPSILON) {
memcpy (allstops, stops, sizeof (cairo_pdf_color_stop_t));
stops = allstops;
stops[0].offset = 0.0;
n_stops++;
}
- if (stops[n_stops-1].offset < 1.0 - COLOR_STOP_EPSILLON) {
+ if (stops[n_stops-1].offset < 1.0 - COLOR_STOP_EPSILON) {
memcpy (&stops[n_stops],
&stops[n_stops - 1],
sizeof (cairo_pdf_color_stop_t));
@@ -1110,12 +1110,12 @@ emit_pattern_stops (cairo_pdf_surface_t
}
if (n_stops == 2) {
- /* no need for stiched function */
+ /* no need for stitched function */
function = emit_linear_colorgradient (surface, &stops[0], &stops[1]);
} else {
- /* multiple stops: stich. XXX possible optimization: regulary spaced
- * stops do not require stiching. XXX */
- function = emit_stiched_colorgradient (surface,
+ /* multiple stops: stitch. XXX possible optimization: regulary spaced
+ * stops do not require stitching. XXX */
+ function = emit_stitched_colorgradient (surface,
n_stops,
stops);
}
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index 120849d..2c2a5fd 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -1828,7 +1828,7 @@ cairo_win32_surface_get_dc (cairo_surfac
}
/**
- * cario_win32_surface_get_image
+ * cairo_win32_surface_get_image
* @surface: a #cairo_surface_t
*
* Returns a #cairo_surface_t image surface that refers to the same bits
diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index 8b8ba1d..2fdf8a1 100644
--- a/src/cairo-xcb-surface.c
+++ b/src/cairo-xcb-surface.c
@@ -926,7 +926,7 @@ _operator_needs_alpha_composite (cairo_o
/* There is a bug in most older X servers with compositing using a
* untransformed repeating source pattern when the source is in off-screen
* video memory, and another with repeated transformed images using a
- * general tranform matrix. When these bugs could be triggered, we need a
+ * general transform matrix. When these bugs could be triggered, we need a
* fallback: in the common case where we have no transformation and the
* source and destination have the same format/visual, we can do the
* operation using the core protocol for the first bug, otherwise, we need
@@ -2020,7 +2020,7 @@ _cairo_xcb_surface_add_glyph (xcb_connec
*
* This is a postscript-y model, where each glyph has its own
* coordinate space, so it's what we expose in terms of metrics. It's
- * apparantly what everyone's expecting. Everyone except the Render
+ * apparently what everyone's expecting. Everyone except the Render
* extension. Render wants to see a glyph tile starting at (0,0), with
* an origin offset inside, like this:
*
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index fbfae75..6a0d3e4 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1106,7 +1106,7 @@ _operator_needs_alpha_composite (cairo_o
/* There is a bug in most older X servers with compositing using a
* untransformed repeating source pattern when the source is in off-screen
* video memory, and another with repeated transformed images using a
- * general tranform matrix. When these bugs could be triggered, we need a
+ * general transform matrix. When these bugs could be triggered, we need a
* fallback: in the common case where we have no transformation and the
* source and destination have the same format/visual, we can do the
* operation using the core protocol for the first bug, otherwise, we need
@@ -1166,7 +1166,7 @@ _categorize_composite_operation (cairo_x
/* If these are on the same screen but otherwise incompatible,
* make a copy as core drawing can't cross depths and doesn't
- * work rightacross visuals of the same depth
+ * work right across visuals of the same depth
*/
if (_cairo_xlib_surface_same_screen (dst, src) &&
!_surfaces_compatible (dst, src))
@@ -2390,7 +2390,7 @@ _cairo_xlib_surface_add_glyph (Display *
*
* This is a postscript-y model, where each glyph has its own
* coordinate space, so it's what we expose in terms of metrics. It's
- * apparantly what everyone's expecting. Everyone except the Render
+ * apparently what everyone's expecting. Everyone except the Render
* extension. Render wants to see a glyph tile starting at (0,0), with
* an origin offset inside, like this:
*
@@ -2694,9 +2694,9 @@ _cairo_xlib_surface_emit_glyphs (cairo_x
* the first zero-size glyph. However, we don't skip all size-zero
* glyphs, since that will force a new element at every space. We
* skip initial size-zero glyphs and hope that it's enough. Since
- * Xft never exposed that bug, this assumptation should be correct.
+ * Xft never exposed that bug, this assumption should be correct.
*
- * We also skip any glyph that hav troublesome coordinates. We want
+ * We also skip any glyphs that have troublesome coordinates. We want
* to make sure that (glyph2.x - (glyph1.x + glyph1.width)) fits in
* a signed 16bit integer, otherwise it will overflow in the render
* protocol.
- Previous message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
Antialias.java, 1.4, 1.5 CairoObject.java, 1.5,
1.6 Context.java, 1.15, 1.16 Extend.java, 1.6, 1.7 Filter.java,
1.6, 1.7 FontExtents.java, 1.7, 1.8 FontFace.java, 1.7,
1.8 Glyph.java, 1.9, 1.10 Gradient.java, 1.5,
1.6 HintMetrics.java, 1.4, 1.5 HintStyle.java, 1.4,
1.5 ImageSurface.java, 1.14, 1.15 Matrix.java, 1.14,
1.15 Operator.java, 1.7, 1.8 PDFSurface.java, 1.8,
1.9 Pattern.java, 1.12, 1.13 Rectangle.java, 1.4,
1.5 ScaledFont.java, 1.7, 1.8 SubpixelOrder.java, 1.4,
1.5 Surface.java, 1.20, 1.21 SurfacePattern.java, 1.4,
1.5 TextExtents.java, 1.8, 1.9
- Next message: [cairo-commit] doc/public src/cairo-array.c src/cairo-cache.c
src/cairo-font-options.c src/cairo-ft-font.c
src/cairo-gstate.c src/cairo-image-surface.c src/cairo-lzw.c
src/cairo-meta-surface.c src/cairo-path-stroke.c
src/cairo-pattern.c src/cairo-pdf-surface.c
src/cairo-ps-surface.c src/cairo-scaled-font.c
src/cairo-surface.c src/cairo-type1-fallback.c
src/cairo-unicode.c src/cairo-wideint.c src/cairo-win32-surface.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list