KiCad PCB EDA Suite
Loading...
Searching...
No Matches
vector2wx.h File Reference
#include <wx/gdicmn.h>
#include "vector2d.h"

Go to the source code of this file.

Functions

VECTOR2I ToVECTOR2I (const wxSize &aSize)
 
VECTOR2I ToVECTOR2I (const wxPoint &aSize)
 
VECTOR2D ToVECTOR2D (const wxPoint &aPoint)
 
VECTOR2D ToVECTOR2D (const wxSize &aPoint)
 
wxPoint ToWxPoint (const VECTOR2I &aSize)
 
wxSize ToWxSize (const VECTOR2I &aSize)
 

Function Documentation

◆ ToVECTOR2D() [1/2]

◆ ToVECTOR2D() [2/2]

VECTOR2D ToVECTOR2D ( const wxSize &  aPoint)
inline

Definition at line 45 of file vector2wx.h.

◆ ToVECTOR2I() [1/2]

VECTOR2I ToVECTOR2I ( const wxPoint &  aSize)
inline

Definition at line 35 of file vector2wx.h.

References VECTOR2< T >::x.

◆ ToVECTOR2I() [2/2]

VECTOR2I ToVECTOR2I ( const wxSize &  aSize)
inline

◆ ToWxPoint()

wxPoint ToWxPoint ( const VECTOR2I aSize)
inline

Definition at line 50 of file vector2wx.h.

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

Referenced by GRCSegm(), ROUTER_TOOL::handleLayerSwitch(), and STATUS_POPUP::Move().

◆ ToWxSize()

wxSize ToWxSize ( const VECTOR2I aSize)
inline