KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pl_point_editor.cpp File Reference
#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 <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 ,
  RECT_CENTER , RECT_TOPLEFT , RECT_TOPRIGHT , RECT_BOTLEFT ,
  RECT_BOTRIGHT
}
 
enum  LINE_POINTS { LINE_START , LINE_END , LINE_START , LINE_END }
 

Functions

void pinEditedCorner (int editedPointIndex, int minWidth, int minHeight, VECTOR2I &topLeft, VECTOR2I &topRight, VECTOR2I &botLeft, VECTOR2I &botRight)
 

Enumeration Type Documentation

◆ LINE_POINTS

Enumerator
LINE_START 
LINE_END 
LINE_START 
LINE_END 

Definition at line 52 of file pl_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 46 of file pl_point_editor.cpp.

Function Documentation

◆ pinEditedCorner()

void pinEditedCorner ( int  editedPointIndex,
int  minWidth,
int  minHeight,
VECTOR2I topLeft,
VECTOR2I topRight,
VECTOR2I botLeft,
VECTOR2I botRight 
)