KiCad PCB EDA Suite
|
#include <grid_helper.h>
Public Member Functions | |
ANCHOR (const VECTOR2I &aPos, int aFlags=CORNER|SNAPPABLE, EDA_ITEM *aItem=nullptr) | |
double | Distance (const VECTOR2I &aP) const |
Public Attributes | |
VECTOR2I | pos |
int | flags |
EDA_ITEM * | item |
Definition at line 89 of file grid_helper.h.
|
inline |
Definition at line 91 of file grid_helper.h.
|
inline |
Definition at line 101 of file grid_helper.h.
References pos.
Referenced by EE_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestSnapAnchor(), and EE_GRID_HELPER::BestSnapAnchor().
int GRID_HELPER::ANCHOR::flags |
Definition at line 98 of file grid_helper.h.
EDA_ITEM* GRID_HELPER::ANCHOR::item |
Definition at line 99 of file grid_helper.h.
Referenced by EE_GRID_HELPER::GetSnapped(), and PCB_GRID_HELPER::GetSnapped().
VECTOR2I GRID_HELPER::ANCHOR::pos |
Definition at line 97 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::AlignToNearestPad(), EE_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestDragOrigin(), PCB_GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::BestSnapAnchor(), and Distance().