2003-01-03 20:37:31 +01:00
|
|
|
--- src/cpca_gdevl4v.c.orig Tue May 7 00:30:00 2002
|
2004-01-08 17:11:13 +01:00
|
|
|
+++ src/cpca_gdevl4v.c Wed Dec 10 19:54:46 2003
|
2003-01-03 20:37:31 +01:00
|
|
|
@@ -316,41 +316,35 @@
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Vector device implementation */
|
|
|
|
-private int lips4v_beginpage(P1(gx_device_vector * vdev));
|
|
|
|
-private int lips4v_setfillcolor(P2(gx_device_vector * vdev,
|
|
|
|
- const gx_drawing_color * pdc));
|
|
|
|
-private int lips4v_setstrokecolor(P2(gx_device_vector * vdev,
|
|
|
|
- const gx_drawing_color * pdc));
|
|
|
|
-private int lips4v_setdash(P4(gx_device_vector * vdev, const float *pattern,
|
|
|
|
- uint count, floatp offset));
|
|
|
|
-private int lips4v_setflat(P2(gx_device_vector * vdev, floatp flatness));
|
|
|
|
+private int lips4v_beginpage(gx_device_vector * vdev);
|
|
|
|
+private int lips4v_setfillcolor(gx_device_vector * vdev,
|
|
|
|
+ const gx_drawing_color * pdc);
|
|
|
|
+private int lips4v_setstrokecolor(gx_device_vector * vdev,
|
|
|
|
+ const gx_drawing_color * pdc);
|
|
|
|
+private int lips4v_setdash(gx_device_vector * vdev, const float *pattern,
|
|
|
|
+ uint count, floatp offset);
|
|
|
|
+private int lips4v_setflat(gx_device_vector * vdev, floatp flatness);
|
|
|
|
private int
|
|
|
|
-lips4v_setlogop(P3
|
|
|
|
-
|
|
|
|
- (gx_device_vector * vdev, gs_logical_operation_t lop,
|
|
|
|
- gs_logical_operation_t diff));
|
|
|
|
+lips4v_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop,
|
|
|
|
+ gs_logical_operation_t diff);
|
|
|
|
private int
|
|
|
|
|
|
|
|
-lips4v_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type));
|
|
|
|
+lips4v_beginpath(gx_device_vector * vdev, gx_path_type_t type);
|
|
|
|
private int
|
|
|
|
-lips4v_moveto(P6
|
|
|
|
- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x,
|
|
|
|
- floatp y, gx_path_type_t type));
|
2004-01-08 17:11:13 +01:00
|
|
|
+lips4v_moveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x,
|
|
|
|
+ floatp y, gx_path_type_t type);
|
|
|
|
private int
|
2003-01-03 20:37:31 +01:00
|
|
|
-lips4v_lineto(P6
|
|
|
|
- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x,
|
|
|
|
- floatp y, gx_path_type_t type));
|
|
|
|
+lips4v_lineto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x,
|
|
|
|
+ floatp y, gx_path_type_t type);
|
|
|
|
private int
|
|
|
|
-lips4v_curveto(P10
|
|
|
|
- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x1,
|
|
|
|
+lips4v_curveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x1,
|
|
|
|
floatp y1, floatp x2, floatp y2, floatp x3, floatp y3,
|
|
|
|
- gx_path_type_t type));
|
|
|
|
+ gx_path_type_t type);
|
|
|
|
private int
|
|
|
|
-lips4v_closepath(P6
|
|
|
|
- (gx_device_vector * vdev, floatp x, floatp y, floatp x_start,
|
|
|
|
- floatp y_start, gx_path_type_t type));
|
|
|
|
+lips4v_closepath(gx_device_vector * vdev, floatp x, floatp y, floatp x_start,
|
|
|
|
+ floatp y_start, gx_path_type_t type);
|
|
|
|
|
|
|
|
-private int lips4v_endpath(P2(gx_device_vector * vdev, gx_path_type_t type));
|
|
|
|
+private int lips4v_endpath(gx_device_vector * vdev, gx_path_type_t type);
|
|
|
|
private int lips4v_setlinewidth(gx_device_vector * vdev, floatp width);
|
|
|
|
private int lips4v_setlinecap(gx_device_vector * vdev, gs_line_cap cap);
|
|
|
|
private int lips4v_setlinejoin(gx_device_vector * vdev, gs_line_join join);
|
2004-01-08 17:11:13 +01:00
|
|
|
@@ -2296,7 +2290,7 @@
|
|
|
|
}
|
|
|
|
color_set_pure(&color, one);
|
|
|
|
code = gdev_vector_update_fill_color((gx_device_vector *) pdev,
|
|
|
|
- &color);
|
|
|
|
+ NULL, &color);
|
|
|
|
}
|
|
|
|
if (code < 0)
|
|
|
|
return 0;
|
|
|
|
@@ -2438,7 +2432,7 @@
|
|
|
|
if (w <= 0 || h <= 0)
|
|
|
|
return 0;
|
|
|
|
if (depth > 1 ||
|
|
|
|
- gdev_vector_update_fill_color(vdev, pdcolor) < 0 ||
|
|
|
|
+ gdev_vector_update_fill_color(vdev, NULL, pdcolor) < 0 ||
|
|
|
|
gdev_vector_update_clip_path(vdev, pcpath) < 0 ||
|
|
|
|
gdev_vector_update_log_op(vdev, lop) < 0)
|
|
|
|
return gx_default_fill_mask(dev, data, data_x, raster, id,
|