KiCad PCB EDA Suite
ee_actions.h File Reference
#include <tool/tool_action.h>
#include <tool/actions.h>
#include <core/optional.h>

Go to the source code of this file.

Classes

class  EE_ACTIONS
 Class EESCHEMA_ACTIONS. More...
 

Functions

VECTOR2I mapCoords (const wxPoint &aCoord)
 
wxPoint mapCoords (const VECTOR2I &aCoord)
 
wxPoint mapCoords (const int x, const int y)
 

Variables

char g_lastBusEntryShape
 

Function Documentation

◆ mapCoords() [1/3]

VECTOR2I mapCoords ( const wxPoint &  aCoord)
inline

Definition at line 218 of file ee_actions.h.

219 {
220  return VECTOR2I( aCoord.x, -aCoord.y );
221 }
VECTOR2< int > VECTOR2I
Definition: vector2d.h:587

◆ mapCoords() [2/3]

wxPoint mapCoords ( const VECTOR2I aCoord)
inline

Definition at line 223 of file ee_actions.h.

224 {
225  return wxPoint( aCoord.x, -aCoord.y );
226 }

References VECTOR2< T >::x, and VECTOR2< T >::y.

◆ mapCoords() [3/3]

wxPoint mapCoords ( const int  x,
const int  y 
)
inline

Definition at line 228 of file ee_actions.h.

229 {
230  return wxPoint( x, -y );
231 }

Variable Documentation

◆ g_lastBusEntryShape

char g_lastBusEntryShape