/*stroker_emit_line_to(stroker, nx, ny);*/
- arc_init(&arc, VG_SCCWARC_TO_ABS,
+ arc_init(&arc, VG_SCCWARC_TO,
x1, y1, x2, y2, width/2, height/2, 0);
arc_stroker_emit(&arc, stroker, &matrix);
}
matrix_load_identity(&matrix);
stroker_emit_move_to(stroker, cx + offset, cy);
- arc_init(&arc, VG_SCCWARC_TO_ABS,
+ arc_init(&arc, VG_SCCWARC_TO,
cx + offset, cy,
cx - offset, cy,
offset, offset, 0);
arc_stroker_emit(&arc, stroker, &matrix);
- arc_init(&arc, VG_SCCWARC_TO_ABS,
+ arc_init(&arc, VG_SCCWARC_TO,
cx - offset, cy,
cx + offset, cy,
offset, offset, 0);
stroker->path = path_create(VG_PATH_DATATYPE_F, 1.0f, 0.0f,
0, 0, VG_PATH_CAPABILITY_ALL);
- stroker->last_cmd = VG_CLOSE_PATH;
+ /* Initialize with an invalid value */
+ stroker->last_cmd = (VGPathCommand)0;
}
void dash_stroker_init(struct stroker *str,