#include <psdf_atlas.hpp>
◆ PsdfAtlas()
| pulp::canvas::PsdfAtlas::PsdfAtlas |
( |
| ) |
|
|
default |
◆ base_size()
| int pulp::canvas::SdfAtlas::base_size |
( |
| ) |
const |
|
inherited |
◆ build()
| bool pulp::canvas::SdfAtlas::build |
( |
const std::string & | font_family, |
|
|
const std::vector< char32_t > & | chars, |
|
|
int | base_size = 48, |
|
|
int | padding = 8, |
|
|
int | max_atlas_size = 2048 ) |
|
inherited |
◆ glyph()
| const SdfGlyph * pulp::canvas::SdfAtlas::glyph |
( |
char32_t | codepoint | ) |
const |
|
inherited |
◆ glyph_count()
| std::size_t pulp::canvas::SdfAtlas::glyph_count |
( |
| ) |
const |
|
inherited |
◆ height()
| int pulp::canvas::SdfAtlas::height |
( |
| ) |
const |
|
inherited |
◆ pixels()
| const std::uint8_t * pulp::canvas::SdfAtlas::pixels |
( |
| ) |
const |
|
inherited |
◆ width()
| int pulp::canvas::SdfAtlas::width |
( |
| ) |
const |
|
inherited |
The documentation for this class was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/psdf_atlas.hpp