#include "gui/opengl/font.h"
|
| Font (const QFont font) |
|
void | initGL (bool with_shadow=true) |
|
void | start (int width, int height, float red, float green, float blue) const |
|
void | stop () const |
|
void | render (const std::string &text, int x, int y) const |
|
Definition at line 29 of file font.h.
◆ Font()
MR::GUI::GL::Font::Font |
( |
const QFont |
font | ) |
|
|
inline |
◆ initGL()
void MR::GUI::GL::Font::initGL |
( |
bool |
with_shadow = true | ) |
|
◆ render()
void MR::GUI::GL::Font::render |
( |
const std::string & |
text, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| const |
◆ start()
void MR::GUI::GL::Font::start |
( |
int |
width, |
|
|
int |
height, |
|
|
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| const |
|
inline |
◆ stop()
void MR::GUI::GL::Font::stop |
( |
| ) |
const |
|
inline |
◆ font
const QFont MR::GUI::GL::Font::font |
|
protected |
◆ font_height
int MR::GUI::GL::Font::font_height |
|
protected |
◆ font_tex_pos
float MR::GUI::GL::Font::font_tex_pos[256] |
|
protected |
◆ font_tex_width
float MR::GUI::GL::Font::font_tex_width[256] |
|
protected |
◆ font_width
int MR::GUI::GL::Font::font_width[256] |
|
protected |
◆ metric
const QFontMetrics MR::GUI::GL::Font::metric |
◆ program
◆ tex
◆ vertex_array_object
◆ vertex_buffer
The documentation for this class was generated from the following file: