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
 
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)
 
bool setStart(const VECTOR2I &aOrigin)
< Set the center point of the arc
 
VECTOR2< int32_t > VECTOR2I