mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-26 11:13:36 +00:00
Update for the SpicePath.segments type change
This commit is contained in:
@@ -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
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user