52 #ifndef VCUBICBEZIER_H
53 #define VCUBICBEZIER_H
55 #include <qcompilerdetection.h>
57 #include <QSharedDataPointer>
76 VCubicBezier Rotate(
const QPointF &originPoint, qreal degrees,
const QString &prefix = QString())
const;
77 VCubicBezier Flip(
const QLineF &axis,
const QString &prefix = QString())
const;
78 VCubicBezier Move(qreal length, qreal angle,
const QString &prefix = QString())
const;
82 #ifdef Q_COMPILER_RVALUE_REFS
102 virtual qreal
GetLength()
const Q_DECL_OVERRIDE;
113 QSharedDataPointer<VCubicBezierData>
d;
virtual qreal GetC2Length() const Q_DECL_OVERRIDE
virtual qreal GetStartAngle() const Q_DECL_OVERRIDE
void Swap(VCubicBezier &curve) Q_DECL_NOTHROW
void SetP4(const VPointF &p)
void SetP3(const VPointF &p)
virtual QPointF GetControlPoint1() const Q_DECL_OVERRIDE
virtual qreal GetEndAngle() const Q_DECL_OVERRIDE
virtual VPointF GetP1() const Q_DECL_OVERRIDE
QSharedDataPointer< VCubicBezierData > d
VCubicBezier Rotate(const QPointF &originPoint, qreal degrees, const QString &prefix=QString()) const
virtual qreal GetC1Length() const Q_DECL_OVERRIDE
VCubicBezier Move(qreal length, qreal angle, const QString &prefix=QString()) const
VCubicBezier & operator=(const VCubicBezier &curve)
virtual VPointF GetP3() const Q_DECL_OVERRIDE
void SetP1(const VPointF &p)
virtual QPointF GetControlPoint2() const Q_DECL_OVERRIDE
virtual qreal GetLength() const Q_DECL_OVERRIDE
GetLength return length of cubic bezier curve.
virtual VPointF GetP2() const Q_DECL_OVERRIDE
void SetP2(const VPointF &p)
VCubicBezier Flip(const QLineF &axis, const QString &prefix=QString()) const
virtual QVector< QPointF > getPoints() const Q_DECL_OVERRIDE
GetPoints return list with cubic bezier curve points.
virtual VPointF GetP4() const Q_DECL_OVERRIDE
The VPointF class keep data of point.
Q_DECLARE_TYPEINFO(VCubicBezier, Q_MOVABLE_TYPE)