diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-02-03 22:55:53 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-02-07 20:28:09 +0100 |
commit | 5f039f0f894082c383884595220f6f0368ab72cf (patch) | |
tree | 4a77d3ac440d12e7138366d531ca7b1d85a9a6bd /util/cairo-script | |
parent | fda784793edc3da789954df7fc2f0c86d9ed4f94 (diff) |
mesh: Rename cairo_pattern_mesh_* functions to cairo_mesh_pattern_*
This is consistent with the naming of most cairo types/functions
(example: cairo_foo_surface_*).
The substitution in the code has been performed using:
sed -i 's/cairo_pattern_mesh_/cairo_mesh_pattern_/' <files>
Diffstat (limited to 'util/cairo-script')
-rw-r--r-- | util/cairo-script/cairo-script-operators.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c index e447b2e14..647975f7c 100644 --- a/util/cairo-script/cairo-script-operators.c +++ b/util/cairo-script/cairo-script-operators.c @@ -3613,7 +3613,7 @@ _mesh_begin_patch (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_begin_patch (pattern); + cairo_mesh_pattern_begin_patch (pattern); return CSI_STATUS_SUCCESS; } @@ -3648,7 +3648,7 @@ _mesh_curve_to (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_curve_to (pattern, x1, y1, x2, y2, x3, y3); + cairo_mesh_pattern_curve_to (pattern, x1, y1, x2, y2, x3, y3); pop (6); return CSI_STATUS_SUCCESS; @@ -3666,7 +3666,7 @@ _mesh_end_patch (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_end_patch (pattern); + cairo_mesh_pattern_end_patch (pattern); return CSI_STATUS_SUCCESS; } @@ -3689,7 +3689,7 @@ _mesh_line_to (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_line_to (pattern, x, y); + cairo_mesh_pattern_line_to (pattern, x, y); pop (2); return CSI_STATUS_SUCCESS; @@ -3714,7 +3714,7 @@ _mesh_move_to (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_move_to (pattern, x, y); + cairo_mesh_pattern_move_to (pattern, x, y); pop (2); return CSI_STATUS_SUCCESS; @@ -3743,7 +3743,7 @@ _mesh_set_control_point (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_set_control_point (pattern, point, x, y); + cairo_mesh_pattern_set_control_point (pattern, point, x, y); pop (3); return CSI_STATUS_SUCCESS; @@ -3778,7 +3778,7 @@ _mesh_set_corner_color (csi_t *ctx) if (_csi_unlikely (status)) return status; - cairo_pattern_mesh_set_corner_color_rgba (pattern, corner, r, g, b, a); + cairo_mesh_pattern_set_corner_color_rgba (pattern, corner, r, g, b, a); pop (5); return CSI_STATUS_SUCCESS; |