Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::text::FontImage::ImageData Struct Reference

Data for each image in the FontImage. More...

#include "fontimage.h"

Collaboration diagram for ion::text::FontImage::ImageData:

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
 

Detailed Description

Data for each image in the FontImage.

Definition at line 71 of file fontimage.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

ion::text::FontImage::ImageData::ImageData ( const base::AllocatorPtr allocator)
explicit

FontImage::ImageData functions.

Definition at line 434 of file fontimage.cc.

Member Data Documentation

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().


The documentation for this struct was generated from the following files: