本文整理汇总了C++中QEasingCurve::addCubicBezierSegment方法的典型用法代码示例。如果您正苦于以下问题:C++ QEasingCurve::addCubicBezierSegment方法的具体用法?C++ QEasingCurve::addCubicBezierSegment怎么用?C++ QEasingCurve::addCubicBezierSegment使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QEasingCurve
的用法示例。
在下文中一共展示了QEasingCurve::addCubicBezierSegment方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: sipReleaseType
static PyObject *meth_QEasingCurve_addCubicBezierSegment(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = NULL;
{
const QPointF* a0;
int a0State = 0;
const QPointF* a1;
int a1State = 0;
const QPointF* a2;
int a2State = 0;
QEasingCurve *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State, sipType_QPointF, &a2, &a2State))
{
sipCpp->addCubicBezierSegment(*a0,*a1,*a2);
sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);
sipReleaseType(const_cast<QPointF *>(a2),sipType_QPointF,a2State);
Py_INCREF(Py_None);
return Py_None;
}
}
/* Raise an exception if the arguments couldn't be parsed. */
sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_addCubicBezierSegment, doc_QEasingCurve_addCubicBezierSegment);
return NULL;
}