* the wrong end points fix now doesn't erroneously start's a shape
with a line
double lastx=0,lasty=0;
double firstx=0,firsty=0;
int init=1;
double lastx=0,lasty=0;
double firstx=0,firsty=0;
int init=1;
- if(log) printf("shape-start %d\n", fill);
{
if(((int)(lastx*20) != (int)(firstx*20) ||
(int)(lasty*20) != (int)(firsty*20)) &&
{
if(((int)(lastx*20) != (int)(firstx*20) ||
(int)(lasty*20) != (int)(firsty*20)) &&
}
else if(outline->type == T1_PATHTYPE_LINE)
{
}
else if(outline->type == T1_PATHTYPE_LINE)
{
if(log) printf("fix: %f,%f -> %f,%f\n",p0.x,p0.y,p1.x,p1.y);
line(tag, p0, p1, m);
}
if(log) printf("fix: %f,%f -> %f,%f\n",p0.x,p0.y,p1.x,p1.y);
line(tag, p0, p1, m);
}
- if(log) printf("shape-end\n");
}
int colorcompare(RGBA*a,RGBA*b)
}
int colorcompare(RGBA*a,RGBA*b)
logf("<warning> Too many clip levels.");
clippos --;
}
logf("<warning> Too many clip levels.");
clippos --;
}
+ int olddrawmode = drawmode;
swfoutput_setdrawmode(obj, DRAWMODE_CLIP);
swfoutput_drawpath(obj, outline, m);
ShapeSetEnd(tag);
swfoutput_setdrawmode(obj, DRAWMODE_CLIP);
swfoutput_drawpath(obj, outline, m);
ShapeSetEnd(tag);
+ swfoutput_setdrawmode(obj, olddrawmode);
tag = InsertTag(tag,ST_PLACEOBJECT2);
cliptags[clippos] = tag;
tag = InsertTag(tag,ST_PLACEOBJECT2);
cliptags[clippos] = tag;