summaryrefslogtreecommitdiff
path: root/src/cairo-pattern.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2020-12-26 15:55:20 +0000
committerUli Schlachter <psychon@znc.in>2020-12-26 15:55:20 +0000
commit2a48955a331e48e40bce0bcf886b41fd83ea4c6f (patch)
tree7ffe15b04bc1e55fbfbb7c491e05cce0ac55ee41 /src/cairo-pattern.c
parent1d99f816b3804f2568ee4669cd0fe57f66ab319d (diff)
parent2eb12d3fbc7ba727a6af5ef0893f9822ecd2d7d3 (diff)
downloadcairo-1.16.tar.gz
Merge branch 'backport-fixes' into '1.16'1.16
Cherry-pick fixes from master into 1.16 See merge request cairo/cairo!20
Diffstat (limited to 'src/cairo-pattern.c')
-rw-r--r--src/cairo-pattern.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index fde044a4d..32811af59 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -2331,7 +2331,7 @@ _cairo_radial_pattern_box_to_parameter (const cairo_radial_pattern_t *radial,
maxx = x1 + DBL_EPSILON;
maxy = y1 + DBL_EPSILON;
- /* we dont' allow negative radiuses, so we will be checking that
+ /* we don't allow negative radiuses, so we will be checking that
* t*dr >= mindr to consider t valid */
mindr = -(cr + DBL_EPSILON);
@@ -3022,8 +3022,8 @@ _cairo_pattern_alpha_range (const cairo_pattern_t *pattern,
*
* This function cannot be used while the mesh is being constructed.
*
- * The function returns TRUE and sets the output parametes to define
- * the coodrinate range if the mesh pattern contains at least one
+ * The function returns TRUE and sets the output parameters to define
+ * the coordinate range if the mesh pattern contains at least one
* patch, otherwise it returns FALSE.
**/
cairo_bool_t
@@ -4760,7 +4760,7 @@ _cairo_debug_print_pattern (FILE *file, const cairo_pattern_t *pattern)
case CAIRO_FILTER_BEST: s = "best"; break;
case CAIRO_FILTER_NEAREST: s = "nearest"; break;
case CAIRO_FILTER_BILINEAR: s = "bilinear"; break;
- case CAIRO_FILTER_GAUSSIAN: s = "guassian"; break;
+ case CAIRO_FILTER_GAUSSIAN: s = "gaussian"; break;
default: s = "invalid"; ASSERT_NOT_REACHED; break;
}
fprintf (file, " filter: %s\n", s);