|
KiCad PCB EDA Suite
|
Design to KiCad mapping: X shifted, Y negated about the origin. More...
#include <easypc_sch_items.h>
Public Member Functions | |
| VECTOR2I | Map (int64_t aX, int64_t aY) const |
Public Attributes | |
| int32_t | OriginX = 0 |
| int32_t | OriginY = 0 |
Design to KiCad mapping: X shifted, Y negated about the origin.
Definition at line 60 of file easypc_sch_items.h.
| VECTOR2I EASYPC::SCH_FRAME::Map | ( | int64_t | aX, |
| int64_t | aY ) const |
| IO_ERROR | when the point lies outside KiCad's coordinate range |
Definition at line 77 of file easypc_sch_items.cpp.
References _, std::abs(), EASYPC::COORD_LIMIT, OriginX, OriginY, and THROW_IO_ERROR.
Referenced by EASYPC::ApplyTextPosition(), EASYPC::ConvertShape(), EASYPC::mapD(), and EASYPC::SCH_BUILDER::toSheet().
| int32_t EASYPC::SCH_FRAME::OriginX = 0 |
Definition at line 62 of file easypc_sch_items.h.
Referenced by EASYPC::ConvertShape(), and Map().
| int32_t EASYPC::SCH_FRAME::OriginY = 0 |
Definition at line 63 of file easypc_sch_items.h.
Referenced by EASYPC::ConvertShape(), and Map().