- swf_ShapeSetAll(tag,s,0,0,0,fs,0);
- edge_t*e = poly2->edges;
- while(e) {
+ swf_ShapeSetAll(tag,s,UNDEFINED_COORD,UNDEFINED_COORD,0,fs,0);
+
+ int i,j;
+ gfxpolystroke_t*stroke = poly2->strokes;
+ for(;stroke;stroke=stroke->next) {
+ for(j=0;j<stroke->num_points-1;j++) {
+ point_t a = stroke->points[j];
+ point_t b = stroke->points[j+1];