KiCad PCB EDA Suite
Loading...
Searching...
No Matches
point_editor_behavior.h File Reference
#include <wx/debug.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_TABLECELL_POINT_EDIT_BEHAVIOR
 "Standard" table-cell editing behavior. More...
 
class  EDA_ARC_POINT_EDIT_BEHAVIOR
 "Standard" arc editing behavior. More...
 

Macros

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

Functions

ARC_EDIT_MODE IncrementArcEditMode (ARC_EDIT_MODE aMode)
 

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 130 of file point_editor_behavior.h.

Referenced by RECTANGLE_POINT_EDIT_BEHAVIOR::UpdateItem(), and POLYGON_POINT_EDIT_BEHAVIOR::UpdateOutlineFromPoints().

Function Documentation

◆ IncrementArcEditMode()