#include <2DTools.hpp>
Static Public Member Functions | |
static void | Enter2DMode () |
2D Modus anschalten | |
static void | Leave2DMode () |
2D Modus ausschalten | |
static void | DrawLine (int nBeginPosX, int nBeginPosY, int nEndPosX, int nEndPosY) |
Linie im 2D Modus zeichnen. | |
static void | DrawRect (int nPosX, int nPosY, int nWidth, int nHeight, bool bFilled=true) |
Rechteck im 2D Modus zeichnen. |
void C2DTools::Enter2DMode | ( | ) | [static] |
2D Modus anschalten
Einheitsmatrix auf Orthogonale Ansicht setzen, damit der Nullpunkt links unten und die Fensterhoehe und -breite rechts oben als Koordinatensystem zur Positionierung verwendet werden können.