void SWFShape_drawScaledCurveTo(SWFShape shape, int controlx, int controly, int anchorx, int anchory) { SWFShape_drawScaledCurve(shape, controlx-shape->xpos, controly-shape->ypos, anchorx-controlx, anchory-controly); }
void SWFShape_drawCurve(SWFShape shape, float controldx, float controldy, float anchordx, float anchordy) { SWFShape_drawScaledCurve(shape, (int)rint(controldx*Ming_scale), (int)rint(controldy*Ming_scale), (int)rint(anchordx*Ming_scale), (int)rint(anchordy*Ming_scale)); }
void SWFShape_drawCurve(SWFShape shape, double controldx, double controldy, double anchordx, double anchordy) { SWFShape_drawScaledCurve(shape, (int)rint(controldx*Ming_scale), (int)rint(controldy*Ming_scale), (int)rint(anchordx*Ming_scale), (int)rint(anchordy*Ming_scale)); }