|
KiCad PCB EDA Suite
|
Where a glyph's quad sits and what it samples, in font units, which are also atlas texels. More...
#include <gl_resources.h>
Public Attributes | |
| float | x |
| float | y |
| corner of the quad from the pen position | |
| float | w |
| float | h |
| size of the quad and of its cell in the atlas | |
| float | atlasX |
| float | atlasY |
| corner of the cell in the atlas, inside its smoothing border | |
Where a glyph's quad sits and what it samples, in font units, which are also atlas texels.
Definition at line 71 of file gl_resources.h.
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::atlasX |
Definition at line 75 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::atlasY |
corner of the cell in the atlas, inside its smoothing border
Definition at line 75 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::h |
size of the quad and of its cell in the atlas
Definition at line 74 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::w |
Definition at line 74 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::x |
Definition at line 73 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().
| float KIGFX::BUILTIN_FONT::GLYPH_BOX::y |
corner of the quad from the pen position
Definition at line 73 of file gl_resources.h.
Referenced by KIGFX::BUILTIN_FONT::ComputeGlyphBox(), and KIGFX::OPENGL_GAL::drawBitmapChar().