Ion
|
Data for each image in the FontImage. More...
#include "fontimage.h"
Public Types | |
typedef base::AllocMap < GlyphIndex, math::Range2f > | TexRectMap |
Maps glyph index to a texture coordinate rectangle. More... | |
typedef base::AllocVector < gfx::Texture::SubImage > | SubImageVec |
Vector of SubImages to set on textures. More... | |
Public Member Functions | |
ImageData (const base::AllocatorPtr &allocator) | |
FontImage::ImageData functions. More... | |
Public Attributes | |
gfx::TexturePtr | texture |
Font glyph texture. More... | |
GlyphSet | glyph_set |
Set of glyphs in the image. More... | |
TexRectMap | texture_rectangle_map |
Data for each image in the FontImage.
Definition at line 71 of file fontimage.h.
Vector of SubImages to set on textures.
Definition at line 81 of file fontimage.h.
Maps glyph index to a texture coordinate rectangle.
Definition at line 78 of file fontimage.h.
|
explicit |
FontImage::ImageData functions.
Definition at line 434 of file fontimage.cc.
GlyphSet ion::text::FontImage::ImageData::glyph_set |
Set of glyphs in the image.
Definition at line 76 of file fontimage.h.
Referenced by ion::text::FontImage::HasAllGlyphs(), and ion::text::FontImage::HasGlyph().
gfx::TexturePtr ion::text::FontImage::ImageData::texture |
Font glyph texture.
Definition at line 74 of file fontimage.h.
Referenced by ion::text::Builder::GetFontImageTexture().
TexRectMap ion::text::FontImage::ImageData::texture_rectangle_map |
Definition at line 79 of file fontimage.h.
Referenced by ion::text::FontImage::GetTextureCoords().