Esempio n. 1
0
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);
}
Esempio n. 2
0
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));
}
Esempio n. 3
0
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));
}