summaryrefslogtreecommitdiff
path: root/xps/xpsgradient.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2007-03-01 15:14:39 +0000
committerTor Andersson <tor.andersson@artifex.com>2007-03-01 15:14:39 +0000
commit3d937c80ab38e745cf01fde16eb87e639181ab59 (patch)
treeb95abc3839212a717eec8dbe206448426b108183 /xps/xpsgradient.c
parent36ba055f939e539227d085ea2e3dce409dd26b40 (diff)
downloadghostpdl-3d937c80ab38e745cf01fde16eb87e639181ab59.tar.gz
Visual brushes, with very limited tiling support.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2783 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'xps/xpsgradient.c')
-rw-r--r--xps/xpsgradient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/xpsgradient.c b/xps/xpsgradient.c
index b112c9458..404183358 100644
--- a/xps/xpsgradient.c
+++ b/xps/xpsgradient.c
@@ -492,7 +492,7 @@ xps_parse_radial_gradient_brush(xps_context_t *ctx, xps_item_t *root)
if (!stop_tag || !center_att || !origin_att || !radius_x_att || !radius_y_att)
- return gs_throw(-1, "missing attribute in gradient stop tag");
+ return gs_throw(-1, "missing attribute in radial gradient tag");
stop_count = xps_parse_gradient_stops(ctx, stop_tag, stop_offsets, stop_colors, MAX_STOPS);
if (stop_count == 0)
@@ -582,7 +582,7 @@ xps_parse_linear_gradient_brush(xps_context_t *ctx, xps_item_t *root)
if (!stop_tag || !start_point_att || !end_point_att)
- return gs_throw(-1, "missing attribute in gradient stop tag");
+ return gs_throw(-1, "missing attribute in linear gradient tag");
stop_count = xps_parse_gradient_stops(ctx, stop_tag, stop_offsets, stop_colors, MAX_STOPS);
if (stop_count == 0)