Update for the SpicePath.segments type change

This commit is contained in:
Alexander Larsson
2010-07-01 16:07:02 +02:00
parent 0e16cadc70
commit 007d128973
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -3180,7 +3180,7 @@ static void canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox,
CANVAS_ERROR("invalid brush type");
}
seg = stroke->path->segments;
seg = (SpicePathSeg*)stroke->path->segments;
stroke_lines_init(&lines);
+1 -1
View File
@@ -310,7 +310,7 @@ uint32_t raster_ops[] = {
static void set_path(GdiCanvas *canvas, SpicePath *s)
{
SpicePathSeg* seg = s->segments;
SpicePathSeg* seg = (SpicePathSeg*)s->segments;
int i;
for (i = 0; i < s->num_segments; i++) {
+1 -1
View File
@@ -115,7 +115,7 @@ static GLCPath get_path(GLCanvas *canvas, SpicePath *s)
{
GLCPath path = glc_path_create(canvas->glc);
int i;
SpicePathSeg* seg = s->segments;
SpicePathSeg* seg = (SpicePathSeg*)s->segments;
for (i = 0; i < s->num_segments; i++) {
uint32_t flags = seg->flags;