|
GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <external/RadixEngine/include/radix/renderer/TextRenderer.hpp>
Public Member Functions | |
| TextRenderer (World &w, Renderer &ren) | |
| void | render (double dtime) |
| void | renderText (RenderContext &rc, Text text) |
| Renders a string to the screen using signed-distance field text rendering. More... | |
| int | getTextWidth (std::string text, Font font) |
| Meassures the width of text respecting the font. More... | |
Static Public Member Functions | |
| static Matrix4f | clipProjMat (const Entity &ent, const Matrix4f &view, const Matrix4f &proj) |
Private Attributes | |
| World & | world |
| Renderer & | renderer |
| std::unique_ptr< RenderContext > | renderContext |
| double | time |
|
static |
| int radix::TextRenderer::getTextWidth | ( | std::string | text, |
| Font | font | ||
| ) |
Meassures the width of text respecting the font.
| text | |
| font |
| void radix::TextRenderer::render | ( | double | dtime | ) |
| void radix::TextRenderer::renderText | ( | RenderContext & | rc, |
| Text | text | ||
| ) |
Renders a string to the screen using signed-distance field text rendering.
| text | The text to render |
|
private |
|
private |
|
private |
|
private |
1.8.8