################################################################
# THE FOLLOWING CODE IS AUTOMATED, ANY MODIFICATION WILL BE LOST!
#
# Copyright (C) 2007 - 2012 by Dongxu Ma <dongxu _at_ cpan _dot_ org>
#
# This library is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
# See http://dev.perl.org/licenses/artistic.html
################################################################
MODULE = Qt::Gui PACKAGE = Qt::Gui::QGraphicsItemAnimation
PROTOTYPES: DISABLE
# classname: QGraphicsItemAnimation
################################################################
####
#### PUBLIC MEMBER FUNCTIONS
####
################################################################
## QGraphicsItemAnimation(QObject * parent)
## QGraphicsItemAnimation(QObject * parent = 0)
void
QGraphicsItemAnimation::new(...)
PREINIT:
QGraphicsItemAnimation *ret;
QObject * arg00;
QObject * arg10 = 0;
PPCODE:
switch(items) {
case 1:
{
if (1) {
ret = new QGraphicsItemAnimation(arg10);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::QGraphicsItemAnimation", (void *)ret);
XSRETURN(1);
}
break;
}
case 2:
{
if ((sv_derived_from(ST(1), "Qt::Core::QObject") || ST(1) == &PL_sv_undef)) {
if (sv_derived_from(ST(1), "Qt::Core::QObject")) {
arg00 = reinterpret_cast<QObject *>(SvIV((SV*)SvRV(ST(1))));
}
else if (ST(1) == &PL_sv_undef) {
arg00 = 0;
}
else
Perl_croak(aTHX_ "arg00 is not of type Qt::Core::QObject");
ret = new QGraphicsItemAnimation(arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::QGraphicsItemAnimation", (void *)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
default:
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
## ~QGraphicsItemAnimation()
void
QGraphicsItemAnimation::DESTROY()
CODE:
if(THIS != 0 && !SvREADONLY(SvRV(ST(0))))
delete THIS;
## void clear()
void
QGraphicsItemAnimation::clear(...)
PREINIT:
PPCODE:
if (1) {
(void)THIS->clear();
XSRETURN(0);
}
## qreal horizontalScaleAt(qreal step)
void
QGraphicsItemAnimation::horizontalScaleAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->horizontalScaleAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## qreal horizontalShearAt(qreal step)
void
QGraphicsItemAnimation::horizontalShearAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->horizontalShearAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## QGraphicsItem * item()
void
QGraphicsItemAnimation::item(...)
PREINIT:
PPCODE:
if (1) {
QGraphicsItem * ret = THIS->item();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::QGraphicsItem", (void *)ret);
XSRETURN(1);
}
## QMatrix matrixAt(qreal step)
void
QGraphicsItemAnimation::matrixAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
QMatrix ret = THIS->matrixAt(arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::QMatrix", (void *)new QMatrix(ret));
XSRETURN(1);
}
## QPointF posAt(qreal step)
void
QGraphicsItemAnimation::posAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
QPointF ret = THIS->posAt(arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Core::QPointF", (void *)new QPointF(ret));
XSRETURN(1);
}
## QList<QPair<qreal,QPointF> > posList()
void
QGraphicsItemAnimation::posList(...)
PREINIT:
PPCODE:
if (1) {
QList<QPair<qreal,QPointF> > ret = THIS->posList();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)new QList<QPair<qreal,QPointF> >(ret));
XSRETURN(1);
}
## void reset()
void
QGraphicsItemAnimation::reset(...)
PREINIT:
PPCODE:
if (1) {
(void)THIS->reset();
XSRETURN(0);
}
## qreal rotationAt(qreal step)
void
QGraphicsItemAnimation::rotationAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->rotationAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## QList<QPair<qreal,qreal> > rotationList()
void
QGraphicsItemAnimation::rotationList(...)
PREINIT:
PPCODE:
if (1) {
QList<QPair<qreal,qreal> > ret = THIS->rotationList();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T037", (void *)new QList<QPair<qreal,qreal> >(ret));
XSRETURN(1);
}
## QList<QPair<qreal,QPointF> > scaleList()
void
QGraphicsItemAnimation::scaleList(...)
PREINIT:
PPCODE:
if (1) {
QList<QPair<qreal,QPointF> > ret = THIS->scaleList();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)new QList<QPair<qreal,QPointF> >(ret));
XSRETURN(1);
}
## void setItem(QGraphicsItem * item)
void
QGraphicsItemAnimation::setItem(...)
PREINIT:
QGraphicsItem * arg00;
PPCODE:
if ((sv_derived_from(ST(1), "Qt::Gui::QGraphicsItem") || ST(1) == &PL_sv_undef)) {
if (sv_derived_from(ST(1), "Qt::Gui::QGraphicsItem")) {
arg00 = reinterpret_cast<QGraphicsItem *>(SvIV((SV*)SvRV(ST(1))));
}
else if (ST(1) == &PL_sv_undef) {
arg00 = 0;
}
else
Perl_croak(aTHX_ "arg00 is not of type Qt::Gui::QGraphicsItem");
(void)THIS->setItem(arg00);
XSRETURN(0);
}
## void setPosAt(qreal step, const QPointF & pos)
void
QGraphicsItemAnimation::setPosAt(...)
PREINIT:
qreal arg00;
QPointF * arg01;
PPCODE:
if (SvNOK(ST(1)) && sv_isa(ST(2), "Qt::Core::QPointF")) {
arg00 = (double)SvNV(ST(1));
arg01 = reinterpret_cast<QPointF *>(SvIV((SV*)SvRV(ST(2))));
(void)THIS->setPosAt(arg00, *arg01);
XSRETURN(0);
}
## void setRotationAt(qreal step, qreal angle)
void
QGraphicsItemAnimation::setRotationAt(...)
PREINIT:
qreal arg00;
qreal arg01;
PPCODE:
if (SvNOK(ST(1)) && SvNOK(ST(2))) {
arg00 = (double)SvNV(ST(1));
arg01 = (double)SvNV(ST(2));
(void)THIS->setRotationAt(arg00, arg01);
XSRETURN(0);
}
## void setScaleAt(qreal step, qreal sx, qreal sy)
void
QGraphicsItemAnimation::setScaleAt(...)
PREINIT:
qreal arg00;
qreal arg01;
qreal arg02;
PPCODE:
if (SvNOK(ST(1)) && SvNOK(ST(2)) && SvNOK(ST(3))) {
arg00 = (double)SvNV(ST(1));
arg01 = (double)SvNV(ST(2));
arg02 = (double)SvNV(ST(3));
(void)THIS->setScaleAt(arg00, arg01, arg02);
XSRETURN(0);
}
## void setShearAt(qreal step, qreal sh, qreal sv)
void
QGraphicsItemAnimation::setShearAt(...)
PREINIT:
qreal arg00;
qreal arg01;
qreal arg02;
PPCODE:
if (SvNOK(ST(1)) && SvNOK(ST(2)) && SvNOK(ST(3))) {
arg00 = (double)SvNV(ST(1));
arg01 = (double)SvNV(ST(2));
arg02 = (double)SvNV(ST(3));
(void)THIS->setShearAt(arg00, arg01, arg02);
XSRETURN(0);
}
## void setStep(qreal x)
void
QGraphicsItemAnimation::setStep(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
(void)THIS->setStep(arg00);
XSRETURN(0);
}
## void setTimeLine(QTimeLine * timeLine)
void
QGraphicsItemAnimation::setTimeLine(...)
PREINIT:
QTimeLine * arg00;
PPCODE:
if ((sv_derived_from(ST(1), "Qt::Core::QTimeLine") || ST(1) == &PL_sv_undef)) {
if (sv_derived_from(ST(1), "Qt::Core::QTimeLine")) {
arg00 = reinterpret_cast<QTimeLine *>(SvIV((SV*)SvRV(ST(1))));
}
else if (ST(1) == &PL_sv_undef) {
arg00 = 0;
}
else
Perl_croak(aTHX_ "arg00 is not of type Qt::Core::QTimeLine");
(void)THIS->setTimeLine(arg00);
XSRETURN(0);
}
## void setTranslationAt(qreal step, qreal dx, qreal dy)
void
QGraphicsItemAnimation::setTranslationAt(...)
PREINIT:
qreal arg00;
qreal arg01;
qreal arg02;
PPCODE:
if (SvNOK(ST(1)) && SvNOK(ST(2)) && SvNOK(ST(3))) {
arg00 = (double)SvNV(ST(1));
arg01 = (double)SvNV(ST(2));
arg02 = (double)SvNV(ST(3));
(void)THIS->setTranslationAt(arg00, arg01, arg02);
XSRETURN(0);
}
## QList<QPair<qreal,QPointF> > shearList()
void
QGraphicsItemAnimation::shearList(...)
PREINIT:
PPCODE:
if (1) {
QList<QPair<qreal,QPointF> > ret = THIS->shearList();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)new QList<QPair<qreal,QPointF> >(ret));
XSRETURN(1);
}
## QTimeLine * timeLine()
void
QGraphicsItemAnimation::timeLine(...)
PREINIT:
PPCODE:
if (1) {
QTimeLine * ret = THIS->timeLine();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Core::QTimeLine", (void *)ret);
XSRETURN(1);
}
## QList<QPair<qreal,QPointF> > translationList()
void
QGraphicsItemAnimation::translationList(...)
PREINIT:
PPCODE:
if (1) {
QList<QPair<qreal,QPointF> > ret = THIS->translationList();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)new QList<QPair<qreal,QPointF> >(ret));
XSRETURN(1);
}
## qreal verticalScaleAt(qreal step)
void
QGraphicsItemAnimation::verticalScaleAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->verticalScaleAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## qreal verticalShearAt(qreal step)
void
QGraphicsItemAnimation::verticalShearAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->verticalShearAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## qreal xTranslationAt(qreal step)
void
QGraphicsItemAnimation::xTranslationAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->xTranslationAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}
## qreal yTranslationAt(qreal step)
void
QGraphicsItemAnimation::yTranslationAt(...)
PREINIT:
qreal arg00;
PPCODE:
if (SvNOK(ST(1))) {
arg00 = (double)SvNV(ST(1));
qreal ret = THIS->yTranslationAt(arg00);
ST(0) = sv_newmortal();
sv_setnv(ST(0), (double)ret);
XSRETURN(1);
}