[cairo] Operator docs

Nis Martensen nis.martensen at web.de
Tue May 3 11:12:23 PDT 2011


Please apply!
-------------- next part --------------
From b9be1c48b24035194e9e50d87d498cd0f68eb1c0 Mon Sep 17 00:00:00 2001
From: Nis Martensen <nis.martensen at web.de>
Date: Mon, 2 May 2011 20:58:28 +0200
Subject: [PATCH] typos

---
 perf/cairo-perf-compare-backends.c |    2 +-
 perf/cairo-perf-diff-files.c       |    2 +-
 src/cairo.h                        |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/perf/cairo-perf-compare-backends.c b/perf/cairo-perf-compare-backends.c
index 6d8de26..f4a425f 100644
--- a/perf/cairo-perf-compare-backends.c
+++ b/perf/cairo-perf-compare-backends.c
@@ -300,7 +300,7 @@ usage (const char *argv0)
 	     "--no-bars   Don't display change bars at all.\n\n"
 	     "\n"
 	     "--use-ms    Use milliseconds to calculate differences.\n"
-	     "            (instead of ticks which are hardware dependant)\n"
+	     "            (instead of ticks which are hardware dependent)\n"
 	     "\n"
 	     "--min-change threshold[%%]\n"
 	     "            Suppress all changes below the given threshold.\n"
diff --git a/perf/cairo-perf-diff-files.c b/perf/cairo-perf-diff-files.c
index 43bf9ba..3025b0a 100644
--- a/perf/cairo-perf-diff-files.c
+++ b/perf/cairo-perf-diff-files.c
@@ -391,7 +391,7 @@ usage (const char *argv0)
 	     "--no-bars   Don't display change bars at all.\n\n"
 	     "\n"
 	     "--use-ms    Use milliseconds to calculate differences.\n"
-	     "            (instead of ticks which are hardware dependant)\n"
+	     "            (instead of ticks which are hardware dependent)\n"
 	     "\n"
 	     "--min-change threshold[%%]\n"
 	     "            Suppress all changes below the given threshold.\n"
diff --git a/src/cairo.h b/src/cairo.h
index 3495146..540f942 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -474,9 +474,9 @@ cairo_pop_group_to_source (cairo_t *cr);
  * the source color.
  * @CAIRO_OPERATOR_COLOR_BURN: darkens the destination color to reflect
  * the source color.
- * @CAIRO_OPERATOR_HARD_LIGHT: Multiplies or screens, dependant on source
+ * @CAIRO_OPERATOR_HARD_LIGHT: Multiplies or screens, dependent on source
  * color.
- * @CAIRO_OPERATOR_SOFT_LIGHT: Darkens or lightens, dependant on source
+ * @CAIRO_OPERATOR_SOFT_LIGHT: Darkens or lightens, dependent on source
  * color.
  * @CAIRO_OPERATOR_DIFFERENCE: Takes the difference of the source and
  * destination color.
@@ -486,7 +486,7 @@ cairo_pop_group_to_source (cairo_t *cr);
  * and the saturation and luminosity of the target.
  * @CAIRO_OPERATOR_HSL_SATURATION: Creates a color with the saturation
  * of the source and the hue and luminosity of the target. Painting with
- * this mode onto a gray area prduces no change.
+ * this mode onto a gray area produces no change.
  * @CAIRO_OPERATOR_HSL_COLOR: Creates a color with the hue and saturation
  * of the source and the luminosity of the target. This preserves the gray
  * levels of the target and is useful for coloring monochrome images or
-- 
1.7.2.5


More information about the cairo mailing list