|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <dbgpainter.h>
Public Member Functions | |
| DbgPainter (Tempest::Painter &painter, const Tempest::Matrix4x4 &mvp, int w, int h) | |
| void | setBrush (const Tempest::Brush &brush) |
| void | setPen (const Tempest::Pen &pen) |
| void | drawText (int x, int y, std::string_view txt) |
| void | drawText (const Tempest::Vec3 &a, std::string_view txt) |
| void | drawLine (const Tempest::Vec3 &a, const Tempest::Vec3 &b) |
| void | drawPoint () |
Public Attributes | |
| Tempest::Painter & | painter |
| const Tempest::Matrix4x4 | mvp |
| const int | w |
| const int | h |
Definition at line 6 of file dbgpainter.h.
| DbgPainter::DbgPainter | ( | Tempest::Painter & | painter, |
| const Tempest::Matrix4x4 & | mvp, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 8 of file dbgpainter.cpp.
| void DbgPainter::drawLine | ( | const Tempest::Vec3 & | a, |
| const Tempest::Vec3 & | b | ||
| ) |
Definition at line 36 of file dbgpainter.cpp.
| void DbgPainter::drawPoint | ( | ) |
| void DbgPainter::drawText | ( | const Tempest::Vec3 & | a, |
| std::string_view | txt | ||
| ) |
Definition at line 25 of file dbgpainter.cpp.
| void DbgPainter::drawText | ( | int | x, |
| int | y, | ||
| std::string_view | txt | ||
| ) |
Definition at line 20 of file dbgpainter.cpp.
| void DbgPainter::setBrush | ( | const Tempest::Brush & | brush | ) |
Definition at line 12 of file dbgpainter.cpp.
| void DbgPainter::setPen | ( | const Tempest::Pen & | pen | ) |
Definition at line 16 of file dbgpainter.cpp.
| const int DbgPainter::h |
Definition at line 21 of file dbgpainter.h.
| const Tempest::Matrix4x4 DbgPainter::mvp |
Definition at line 19 of file dbgpainter.h.
| Tempest::Painter& DbgPainter::painter |
Definition at line 18 of file dbgpainter.h.
| const int DbgPainter::w |
Definition at line 20 of file dbgpainter.h.