|
KiCad PCB EDA Suite
|
#include "sch_point_editor.h"#include <algorithm>#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 <preview_items/angle_item.h>#include <tool/point_editor_behavior.h>#include <tools/sch_actions.h>#include <tools/sch_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 <sch_sheet_pin.h>#include <symbol_editor/symbol_editor_settings.h>#include <sch_no_connect.h>Go to the source code of this file.
Classes | |
| class | LINE_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_RADIUS } |
| 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 } |
Functions | |
| static std::optional< SNAP_CANDIDATE > | authoredSnapRelation (const EDIT_RELATION &aRelation) |
Variables | |
| static const std::vector< KICAD_T > | pointEditorTypes |
| enum ARC_POINTS |
| Enumerator | |
|---|---|
| ARC_START | |
| ARC_END | |
| ARC_CENTER | |
Definition at line 114 of file sch_point_editor.cpp.
| enum LINE_POINTS |
| Enumerator | |
|---|---|
| LINE_START | |
| LINE_END | |
Definition at line 153 of file sch_point_editor.cpp.
| enum RECTANGLE_LINES |
| Enumerator | |
|---|---|
| RECT_TOP | |
| RECT_RIGHT | |
| RECT_BOT | |
| RECT_LEFT | |
Definition at line 133 of file sch_point_editor.cpp.
| enum RECTANGLE_POINTS |
| Enumerator | |
|---|---|
| RECT_TOPLEFT | |
| RECT_TOPRIGHT | |
| RECT_BOTLEFT | |
| RECT_BOTRIGHT | |
| RECT_CENTER | |
| RECT_RADIUS | |
Definition at line 122 of file sch_point_editor.cpp.
| enum REFIMAGE_POINTS |
| Enumerator | |
|---|---|
| REFIMG_ORIGIN | |
Definition at line 142 of file sch_point_editor.cpp.
| enum TABLECELL_POINTS |
| Enumerator | |
|---|---|
| COL_WIDTH | |
| ROW_HEIGHT | |
Definition at line 148 of file sch_point_editor.cpp.
|
static |
Definition at line 55 of file sch_point_editor.cpp.
References AUTHORED_INTRINSIC, SNAP_CANDIDATE::AxisX(), SNAP_CANDIDATE::AxisY(), CIRCLE, SNAP_CANDIDATE::consumedDof, EDIT_RELATION::Direction(), VECTOR2< T >::Distance(), FINITE_MANIFOLD, EDIT_POINT::GetPosition(), SNAP_CANDIDATE::id, INTRINSIC_ANCHOR, EDIT_RELATION::Kind(), SNAP_CANDIDATE::Line(), SNAP_CANDIDATE::manifold, EDIT_RELATION::Origin(), SNAP_CANDIDATE::origin, PERPENDICULAR_TRANSLATION, POINT_ON_CIRCLE, POINT_ON_LINE, SNAP_CANDIDATE::priority, EDIT_RELATION::Reference(), SNAP_CANDIDATE::relation, SAME_X, SAME_Y, EDIT_RELATION::SecondaryReference(), SNAP_CANDIDATE::subtype, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SCH_POINT_EDITOR::Main().
|
static |
Definition at line 46 of file sch_point_editor.cpp.
Referenced by SCH_POINT_EDITOR::Main().