| 
    KiCad PCB EDA Suite
    
   | 
 
#include <functional>#include <wx/log.h>#include <fmt/format.h>#include <tool/tool_manager.h>#include <tool/actions.h>#include <view/view_controls.h>#include <gal/graphics_abstraction_layer.h>#include <preview_items/angle_item.h>#include <confirm.h>#include <bitmaps.h>#include <status_popup.h>#include <drawing_sheet/ds_draw_item.h>#include <drawing_sheet/ds_data_item.h>#include "pl_editor_frame.h"#include "pl_point_editor.h"#include "properties_frame.h"#include "tools/pl_selection_tool.h"Go to the source code of this file.
Classes | |
| class | EDIT_POINTS_FACTORY | 
Enumerations | |
| enum | RECTANGLE_POINTS { RECT_TOPLEFT , RECT_TOPRIGHT , RECT_BOTLEFT , RECT_BOTRIGHT } | 
| enum | LINE_POINTS { LINE_START , LINE_END } | 
Functions | |
| void | pinEditedCorner (int editedPointIndex, int minWidth, int minHeight, VECTOR2I &topLeft, VECTOR2I &topRight, VECTOR2I &botLeft, VECTOR2I &botRight) | 
| enum LINE_POINTS | 
| Enumerator | |
|---|---|
| LINE_START | |
| LINE_END | |
Definition at line 53 of file pl_point_editor.cpp.
| enum RECTANGLE_POINTS | 
| Enumerator | |
|---|---|
| RECT_TOPLEFT | |
| RECT_TOPRIGHT | |
| RECT_BOTLEFT | |
| RECT_BOTRIGHT | |
Definition at line 47 of file pl_point_editor.cpp.
| void pinEditedCorner | ( | int | editedPointIndex, | 
| int | minWidth, | ||
| int | minHeight, | ||
| VECTOR2I & | topLeft, | ||
| VECTOR2I & | topRight, | ||
| VECTOR2I & | botLeft, | ||
| VECTOR2I & | botRight ) | 
Definition at line 273 of file pl_point_editor.cpp.
References RECT_BOTLEFT, RECT_BOTRIGHT, RECT_TOPLEFT, RECT_TOPRIGHT, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PL_POINT_EDITOR::updateItem().