KiCad PCB EDA Suite
|
#include <functional>
#include <memory>
#include <advanced_config.h>
#include <kiplatform/ui.h>
#include <tool/tool_manager.h>
#include <view/view_controls.h>
#include <gal/graphics_abstraction_layer.h>
#include <geometry/corner_operations.h>
#include <geometry/geometry_utils.h>
#include <geometry/seg.h>
#include <geometry/vector_utils.h>
#include <confirm.h>
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <tools/pcb_point_editor.h>
#include <tools/pcb_grid_helper.h>
#include <tools/generator_tool.h>
#include <dialogs/dialog_unit_entry.h>
#include <board_commit.h>
#include <pcb_edit_frame.h>
#include <pcb_reference_image.h>
#include <pcb_generator.h>
#include <pcb_dimension.h>
#include <pcb_textbox.h>
#include <pcb_tablecell.h>
#include <pcb_table.h>
#include <pad.h>
#include <zone.h>
#include <footprint.h>
#include <footprint_editor_settings.h>
#include <connectivity/connectivity_data.h>
#include <progress_reporter.h>
Go to the source code of this file.
Classes | |
class | DIM_ALIGNED_TEXT_UPDATER |
Class to help update the text position of a dimension when the crossbar changes. More... | |
Enumerations | |
enum | SEG_POINTS { SEG_START , SEG_END } |
enum | RECT_POINTS { RECT_TOP_LEFT , RECT_TOP_RIGHT , RECT_BOT_RIGHT , RECT_BOT_LEFT } |
enum | RECT_LINES { RECT_TOP , RECT_RIGHT , RECT_BOT , RECT_LEFT } |
enum | REFIMG_POINTS { REFIMG_ORIGIN = RECT_BOT_LEFT + 1 } |
enum | TABLECELL_POINTS { COL_WIDTH , ROW_HEIGHT , COL_WIDTH , ROW_HEIGHT } |
enum | ARC_POINTS { ARC_START , ARC_END , ARC_CENTER , ARC_START , ARC_MID , ARC_END , ARC_CENTER } |
enum | CIRCLE_POINTS { CIRC_CENTER , CIRC_END , CIRC_CENTER , CIRC_END } |
enum | BEZIER_POINTS { BEZIER_START , BEZIER_CTRL_PT1 , BEZIER_CTRL_PT2 , BEZIER_END , BEZIER_START , BEZIER_CTRL_PT1 , BEZIER_CTRL_PT2 , BEZIER_END } |
enum | DIMENSION_POINTS { DIM_START , DIM_END , DIM_TEXT , DIM_CROSSBARSTART , DIM_CROSSBAREND , DIM_KNEE = DIM_CROSSBARSTART } |
Functions | |
static std::pair< bool, SHAPE_POLY_SET::VERTEX_INDEX > | findVertex (SHAPE_POLY_SET &aPolySet, const EDIT_POINT &aPoint) |
enum ARC_POINTS |
Enumerator | |
---|---|
ARC_START | |
ARC_END | |
ARC_CENTER | |
ARC_START | |
ARC_MID | |
ARC_END | |
ARC_CENTER |
Definition at line 94 of file pcb_point_editor.cpp.
enum BEZIER_POINTS |
Enumerator | |
---|---|
BEZIER_START | |
BEZIER_CTRL_PT1 | |
BEZIER_CTRL_PT2 | |
BEZIER_END | |
BEZIER_START | |
BEZIER_CTRL_PT1 | |
BEZIER_CTRL_PT2 | |
BEZIER_END |
Definition at line 106 of file pcb_point_editor.cpp.
enum CIRCLE_POINTS |
Enumerator | |
---|---|
CIRC_CENTER | |
CIRC_END | |
CIRC_CENTER | |
CIRC_END |
Definition at line 100 of file pcb_point_editor.cpp.
enum DIMENSION_POINTS |
Enumerator | |
---|---|
DIM_START | |
DIM_END | |
DIM_TEXT | |
DIM_CROSSBARSTART | |
DIM_CROSSBAREND | |
DIM_KNEE |
Definition at line 115 of file pcb_point_editor.cpp.
enum RECT_LINES |
Enumerator | |
---|---|
RECT_TOP | |
RECT_RIGHT | |
RECT_BOT | |
RECT_LEFT |
Definition at line 76 of file pcb_point_editor.cpp.
enum RECT_POINTS |
Enumerator | |
---|---|
RECT_TOP_LEFT | |
RECT_TOP_RIGHT | |
RECT_BOT_RIGHT | |
RECT_BOT_LEFT |
Definition at line 70 of file pcb_point_editor.cpp.
enum REFIMG_POINTS |
Enumerator | |
---|---|
REFIMG_ORIGIN |
Definition at line 82 of file pcb_point_editor.cpp.
enum SEG_POINTS |
Enumerator | |
---|---|
SEG_START | |
SEG_END |
Definition at line 64 of file pcb_point_editor.cpp.
enum TABLECELL_POINTS |
Enumerator | |
---|---|
COL_WIDTH | |
ROW_HEIGHT | |
COL_WIDTH | |
ROW_HEIGHT |
Definition at line 88 of file pcb_point_editor.cpp.
|
static |
Definition at line 2538 of file pcb_point_editor.cpp.
References SHAPE_POLY_SET::CVertex(), EDIT_POINT::GetPosition(), and SHAPE_POLY_SET::IterateWithHoles().
Referenced by PCB_POINT_EDITOR::removeCorner(), PCB_POINT_EDITOR::removeCornerCondition(), and PNS::LINE::Walkaround().