KiCad PCB EDA Suite
Loading...
Searching...
No Matches
point_editor_behavior.h File Reference
#include <wx/debug.h>
#include <base_units.h>
#include <settings/app_settings.h>
#include <eda_shape.h>
#include <tool/edit_points.h>
#include <view/view_controls.h>

Go to the source code of this file.

Classes

class  POINT_EDIT_BEHAVIOR
 A helper class interface to manage the edit points for a single item. More...
 
class  POLYGON_POINT_EDIT_BEHAVIOR
 Class that implements "standard" polygon editing behavior. More...
 
class  EDA_POLYGON_POINT_EDIT_BEHAVIOR
 "Standard" polygon editing behavior for EDA_SHAPE polygons. More...
 
class  EDA_SEGMENT_POINT_EDIT_BEHAVIOR
 "Standard" segment editing behavior for EDA_SHAPE segments. More...
 
class  EDA_CIRCLE_POINT_EDIT_BEHAVIOR
 "Standard" circle editing behavior for EDA_SHAPE circles. More...
 
class  EDA_BEZIER_POINT_EDIT_BEHAVIOR
 "Standard" bezier editing behavior for EDA_SHAPE beziers. More...
 
class  EDA_ELLIPSE_POINT_EDIT_BEHAVIOR
 Edit behavior for ELLIPSE and ELLIPSE_ARC shapes. More...
 
class  EDA_TABLECELL_POINT_EDIT_BEHAVIOR
 "Standard" table-cell editing behavior. More...
 
class  EDA_ARC_POINT_EDIT_BEHAVIOR
 "Standard" arc editing behavior. More...
 

Namespaces

namespace  KI_ARC_EDIT
 

Macros

#define CHECK_POINT_COUNT(aPoints, aExpected)
 
#define CHECK_POINT_COUNT_GE(aPoints, aExpected)
 

Functions

ARC_EDIT_MODE IncrementArcEditMode (ARC_EDIT_MODE aMode)
 
void KI_ARC_EDIT::EditArcEndpointKeepCenter (EDA_SHAPE &aArc, const VECTOR2I &aCenter, const VECTOR2I &aStart, const VECTOR2I &aMid, const VECTOR2I &aEnd, const VECTOR2I &aCursor, const EDA_IU_SCALE &aIuScale)
 Move an arc endpoint around the existing center, pulling the opposite endpoint along to keep the radius.
 
void KI_ARC_EDIT::EditArcMidKeepCenter (EDA_SHAPE &aArc, const VECTOR2I &aCenter, const VECTOR2I &aStart, const VECTOR2I &aMid, const VECTOR2I &aEnd, const VECTOR2I &aCursor, const EDA_IU_SCALE &aIuScale)
 Move the mid point of an arc while keeping the center, rotating the endpoints onto the new radius.
 

Macro Definition Documentation

◆ CHECK_POINT_COUNT

◆ CHECK_POINT_COUNT_GE

#define CHECK_POINT_COUNT_GE ( aPoints,
aExpected )
Value:
wxCHECK( aPoints.PointsSize() >= aExpected, /* void */ )

Definition at line 127 of file point_editor_behavior.h.

Referenced by POLYGON_POINT_EDIT_BEHAVIOR::UpdateOutlineFromPoints().

Function Documentation

◆ IncrementArcEditMode()