KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ee_point_editor.cpp File Reference
#include "ee_point_editor.h"
#include <functional>
#include <ee_grid_helper.h>
#include <tool/tool_manager.h>
#include <sch_commit.h>
#include <view/view_controls.h>
#include <gal/graphics_abstraction_layer.h>
#include <geometry/seg.h>
#include <geometry/shape_utils.h>
#include <tool/point_editor_behavior.h>
#include <tools/ee_actions.h>
#include <tools/ee_selection_tool.h>
#include <sch_edit_frame.h>
#include <sch_line.h>
#include <sch_bitmap.h>
#include <sch_sheet.h>
#include <sch_textbox.h>
#include <sch_table.h>
#include <symbol_editor/symbol_editor_settings.h>

Go to the source code of this file.

Classes

class  LINE_POINT_EDIT_BEHAVIOR
 
class  ARC_POINT_EDIT_BEHAVIOR
 
class  BITMAP_POINT_EDIT_BEHAVIOR
 
class  SCH_TABLECELL_POINT_EDIT_BEHAVIOR
 
class  RECTANGLE_POINT_EDIT_BEHAVIOR
 
class  TEXTBOX_POINT_EDIT_BEHAVIOR
 A textbox is edited as a rectnagle when it is orthogonally aligned. More...
 
class  SHEET_POINT_EDIT_BEHAVIOR
 

Enumerations

enum  ARC_POINTS { ARC_START , ARC_END , ARC_CENTER }
 
enum  RECTANGLE_POINTS {
  RECT_TOPLEFT , RECT_TOPRIGHT , RECT_BOTLEFT , RECT_BOTRIGHT ,
  RECT_CENTER , RECT_TOPLEFT , RECT_TOPRIGHT , RECT_BOTLEFT ,
  RECT_BOTRIGHT
}
 
enum  RECTANGLE_LINES { RECT_TOP , RECT_RIGHT , RECT_BOT , RECT_LEFT }
 
enum  REFIMAGE_POINTS { REFIMG_ORIGIN = RECT_BOTRIGHT + 1 }
 
enum  TABLECELL_POINTS { COL_WIDTH , ROW_HEIGHT }
 
enum  LINE_POINTS { LINE_START , LINE_END , LINE_START , LINE_END }
 

Variables

static const std::vector< KICAD_TpointEditorTypes
 

Enumeration Type Documentation

◆ ARC_POINTS

enum ARC_POINTS
Enumerator
ARC_START 
ARC_END 
ARC_CENTER 

Definition at line 59 of file ee_point_editor.cpp.

◆ LINE_POINTS

Enumerator
LINE_START 
LINE_END 
LINE_START 
LINE_END 

Definition at line 88 of file ee_point_editor.cpp.

◆ RECTANGLE_LINES

Enumerator
RECT_TOP 
RECT_RIGHT 
RECT_BOT 
RECT_LEFT 

Definition at line 71 of file ee_point_editor.cpp.

◆ RECTANGLE_POINTS

Enumerator
RECT_TOPLEFT 
RECT_TOPRIGHT 
RECT_BOTLEFT 
RECT_BOTRIGHT 
RECT_CENTER 
RECT_TOPLEFT 
RECT_TOPRIGHT 
RECT_BOTLEFT 
RECT_BOTRIGHT 

Definition at line 65 of file ee_point_editor.cpp.

◆ REFIMAGE_POINTS

Enumerator
REFIMG_ORIGIN 

Definition at line 77 of file ee_point_editor.cpp.

◆ TABLECELL_POINTS

Enumerator
COL_WIDTH 
ROW_HEIGHT 

Definition at line 83 of file ee_point_editor.cpp.

Variable Documentation

◆ pointEditorTypes

const std::vector<KICAD_T> pointEditorTypes
static
Initial value:
@ SCH_TABLECELL_T
Definition: typeinfo.h:166
@ SCH_SHEET_T
Definition: typeinfo.h:174
@ SCH_SHAPE_T
Definition: typeinfo.h:149
@ SCH_RULE_AREA_T
Definition: typeinfo.h:170
@ SCH_ITEM_LOCATE_GRAPHIC_LINE_T
Definition: typeinfo.h:187
@ SCH_BITMAP_T
Definition: typeinfo.h:164
@ SCH_TEXTBOX_T
Definition: typeinfo.h:152

Definition at line 49 of file ee_point_editor.cpp.

Referenced by EE_POINT_EDITOR::Main().