30 #ifndef DOXYGEN_SHOULD_SKIP_THIS    47     Line(Vector2f p0, Vector2f p1);
    51     virtual Vector2f 
getPoint(std::size_t index) 
const override;
    77     virtual Vector2f 
getPoint(std::size_t index) 
const override;
    80     std::size_t m_pointCount;
   102     CubicBezierCurve(Vector2f p0, Vector2f p1, Vector2f p2, Vector2f p3, std::size_t pointCount = 30);
   106     virtual Vector2f 
getPoint(std::size_t index) 
const override;
   109     std::size_t m_pointCount;
   183     virtual Vector2f 
getPoint(std::size_t index) 
const override;
   186     std::vector<Vector2f> m_points;
   189 #ifndef DOXYGEN_SHOULD_SKIP_THIS A compound curve. 
Definition: Curves.h:122
 
CompoundCurve & lineTo(Vector2f p1)
Create a line from the last point to a new point. 
 
QuadraticBezierCurve(Vector2f p0, Vector2f p1, Vector2f p2, std::size_t pointCount=20)
Constructor. 
 
CubicBezierCurve(Vector2f p0, Vector2f p1, Vector2f p2, Vector2f p3, std::size_t pointCount=30)
Constructor. 
 
void close()
Close the curve. 
 
CompoundCurve & setOrigin(Vector2f origin)
Set the first point of the curve. 
 
A line. 
Definition: Curves.h:39
 
CompoundCurve & quadraticCurveTo(Vector2f p1, Vector2f p2, std::size_t pointCount=20)
Create a quadratic Bézier curve from the last point to a new point. 
 
A quadratic Bézier curve. 
Definition: Curves.h:63
 
virtual std::size_t getPointCount() const override
Get the total number of points of the curve. 
 
virtual std::size_t getPointCount() const override
Get the total number of points of the curve. 
 
virtual Vector2f getPoint(std::size_t index) const override
Get a point of the curve. 
 
A curve is a one dimension object. 
Definition: Curve.h:52
 
virtual Vector2f getPoint(std::size_t index) const override
Get a point of the curve. 
 
The namespace for gf classes. 
Definition: Action.h:34
 
virtual Vector2f getPoint(std::size_t index) const override
Get a point of the curve. 
 
A cubic Bézier curve. 
Definition: Curves.h:91
 
CompoundCurve & clear(Vector2f origin=Vector2f(0, 0))
Reset the curve to a new origin. 
 
virtual std::size_t getPointCount() const override
Get the total number of points of the curve. 
 
Line(Vector2f p0, Vector2f p1)
Constructor. 
 
virtual Vector2f getPoint(std::size_t index) const override
Get a point of the curve. 
 
virtual std::size_t getPointCount() const override
Get the total number of points of the curve. 
 
CompoundCurve & cubicCurveTo(Vector2f p1, Vector2f p2, Vector2f p3, std::size_t pointCount=30)
Create a cubic Bézier curve from the last point to a new point. 
 
#define GF_API
Definition: Portability.h:35
 
CompoundCurve(Vector2f origin=Vector2f(0, 0))
Constructor.