Gnash  0.8.11dev
Public Member Functions | Public Attributes | List of all members
gnash::Font::GlyphInfo Struct Reference

Glyph info structure. More...

#include <Font.h>

Public Member Functions

 GlyphInfo ()
 
 GlyphInfo (std::unique_ptr< SWF::ShapeRecord > glyph, float advance)
 Construct default textured glyph. More...
 

Public Attributes

std::unique_ptr< SWF::ShapeRecordglyph
 
float advance
 

Detailed Description

Glyph info structure.

Constructor & Destructor Documentation

§ GlyphInfo() [1/2]

gnash::Font::GlyphInfo::GlyphInfo ( )

§ GlyphInfo() [2/2]

gnash::Font::GlyphInfo::GlyphInfo ( std::unique_ptr< SWF::ShapeRecord glyph,
float  advance 
)

Construct default textured glyph.

Takes ownership of the SWF::ShapeRecord.

Member Data Documentation

§ advance

float gnash::Font::GlyphInfo::advance

§ glyph

std::unique_ptr<SWF::ShapeRecord> gnash::Font::GlyphInfo::glyph

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