VECTOR2I GetControlC2() const
Get the coordinates of the arc end point.
 
VECTOR2I GetControlC1() const
 
VECTOR2I GetStart() const
< Get the center point of the arc (valid when state > SET_ORIGIN)
 
bool acceptPoint(const VECTOR2I &aPt) override
< Function that accepts a point for a stage, or rejects it to return to the previous stage
 
int getMaxStep() const override
The highest step this manager has - used to recognize completion and to clamp the step as it advances...
 
bool setEnd(const VECTOR2I &aCursor)
 
@ SET_CONTROL2
Waiting to lock in the second control point.
 
@ SET_END
Waiting to lock in the end point.
 
@ SET_CONTROL1
Waiting to lock in the first control point.
 
@ SET_START
Waiting to lock in the start point.
 
bool setControlC1(const VECTOR2I &aControl)
 
bool setControlC2(const VECTOR2I &aControl)
 
BEZIER_STEPS GetStep() const
Get the current step the manager is on (useful when drawing something depends on the current state)
 
bool setStart(const VECTOR2I &aOrigin)
< Set the center point of the arc
 
A geometry manager that works by accepting a sequence of points and advancing though stages of geomet...
 
The Cairo implementation of the graphics abstraction layer.
 
VECTOR2< int32_t > VECTOR2I