bool OnProperties(EDA_SHAPE &aShape) override
Called when the user invokes the properties action mid-draw.
void ToggleClockwise() override
Flip arc direction (applies only when the shape has such a concept of directionality,...
ARC_DRAW_BEHAVIOR(const ARC_DRAW_BEHAVIOR &)=delete
ARC_DRAW_BEHAVIOR & operator=(const ARC_DRAW_BEHAVIOR &)=delete
void ApplyToShape(EDA_SHAPE &aShape) const override
Transfer the current geometry to an EDA_SHAPE.
MANAGED_DRAW_BEHAVIOR(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits)
void SetAngleSnap(bool aSnap) override
Enable or disable angle snapping (circular arcs only; no-op for others).
virtual void SetEnd(const VECTOR2I &aEnd)
void SetCenter(const VECTOR2I &aCenter)
void SetArcAngleAndEnd(const EDA_ANGLE &aAngle, bool aCheckNegativeAngle=false)
Set the end point from the angle center and start.
virtual void SetStart(const VECTOR2I &aStart)
@ SET_ANGLE
Waiting to lock in the arc end point.
@ SET_START
Waiting to lock in the arc start point.
KIGFX::PREVIEW::ARC_GEOM_MANAGER m_manager
MANAGED_DRAW_BEHAVIOR(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits)
static constexpr EDA_ANGLE ANGLE_0
static constexpr EDA_ANGLE ANGLE_90
VECTOR2< int32_t > VECTOR2I