SWF
view release on metacpan or search on metacpan
DisplayItem.xs view on Meta::CPAN
SWF::DisplayItem item
float y
void
SWFDisplayItem_setDepth(item, depth)
SWF::DisplayItem item
int depth
void
SWFDisplayItem_setRatio(item, ratio)
SWF::DisplayItem item
float ratio
void
SWFDisplayItem_setBlendMode(item, mode)
SWF::DisplayItem item
int mode
void
SWFDisplayItem_cacheAsBitmap(item, flag)
SWF::DisplayItem item
int flag
void
SWFDisplayItem_setColorAdd(item, r, g, b, a=0)
SWF::DisplayItem item
int r
int g
int b
int a
ALIAS:
SWF::DisplayItem::addColor = 1
void
SWFDisplayItem_setColorMult(item, r, g, b, a=1.0)
SWF::DisplayItem item
float r
float g
float b
float a
ALIAS:
SWF::DisplayItem::multColor = 1
void
SWFDisplayItem_setName(item, name)
SWF::DisplayItem item
char *name
void
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:
float degrees;
CODE:
SWFDisplayItem_getRotation(item, °rees);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)degrees);
int
SWFDisplayItem_getDepth(item)
SWF::DisplayItem item
void
SWFDisplayItem_DESTROY(item)
SWF::DisplayItem item
CODE:
S_DEBUG(2, fprintf(stderr, "DisplayItem DESTROY CALLED\n"));
( run in 0.604 second using v1.01-cache-2.11-cpan-5511b514fd6 )