SWF
view release on metacpan or search on metacpan
DisplayItem.xs view on Meta::CPAN
SWFDisplayItem_remove(item)
SWF::DisplayItem item
void
SWFDisplayItem_getPosition(item)
SWF::DisplayItem item
PREINIT:
float x;
float y;
PPCODE:
SWFDisplayItem_getPosition(item, &x, &y);
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSVnv((double)x)));
PUSHs(sv_2mortal(newSVnv((double)y)));
void
SWFDisplayItem_getScale(item)
SWF::DisplayItem item
PREINIT:
float xScale;
float yScale;
PPCODE:
SWFDisplayItem_getScale(item, &xScale, &yScale);
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSVnv((double)xScale)));
PUSHs(sv_2mortal(newSVnv((double)yScale)));
void
SWFDisplayItem_getSkew(item)
SWF::DisplayItem item
PREINIT:
float xSkew;
float ySkew;
PPCODE:
SWFDisplayItem_getSkew(item, &xSkew, &ySkew);
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSVnv((double)xSkew)));
PUSHs(sv_2mortal(newSVnv((double)ySkew)));
void
SWFDisplayItem_getRotation(item)
SWF::DisplayItem item
PREINIT:
SWFShape_getPenY(shape)
SWF::Shape shape
void
SWFShape_getPen(shape)
SWF::Shape shape
PREINIT:
float x;
float y;
PPCODE:
SWFShape_getPen(shape, &x, &y);
EXTEND(SP, 2);
PUSHs(sv_2mortal(newSVnv((double)x)));
PUSHs(sv_2mortal(newSVnv((double)y)));
void
SWFShape_drawLineTo(shape, x, y)
SWF::Shape shape
float x
float y
( run in 0.482 second using v1.01-cache-2.11-cpan-5511b514fd6 )