#include <font_sdf.hpp>
|
| FontSDF (const std::string &filename) |
|
std::unique_ptr< Eng3D::Label3D > | gen_text (const std::string &text, glm::vec2 pmin, glm::vec2 pmax, glm::vec2 p0, float width) |
|
void | draw (const std::vector< std::unique_ptr< Label3D >> &labels, const Eng3D::Camera &camera, bool sphere) |
|
Definition at line 64 of file font_sdf.hpp.
◆ FontSDF()
Eng3D::FontSDF::FontSDF |
( |
const std::string & |
filename | ) |
|
◆ draw()
void Eng3D::FontSDF::draw |
( |
const std::vector< std::unique_ptr< Label3D >> & |
labels, |
|
|
const Eng3D::Camera & |
camera, |
|
|
bool |
sphere |
|
) |
| |
◆ gen_text()
std::unique_ptr< Eng3D::Label3D > Eng3D::FontSDF::gen_text |
( |
const std::string & |
text, |
|
|
glm::vec2 |
pmin, |
|
|
glm::vec2 |
pmax, |
|
|
glm::vec2 |
p0, |
|
|
float |
width |
|
) |
| |
The documentation for this struct was generated from the following files: