version 3.3

VRS::TEXT::ImageGlyph Class Reference

The Image Representation of a Glyph. More...

#include <vrs/text/glyphtypes.h>

Inheritance diagram for VRS::TEXT::ImageGlyph:

VRS::TEXT::AbstractGlyph VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 ImageGlyph (float u, float v, float uvwidth, float uvheight, SO< FontTexture > ft)
virtual ~ImageGlyph ()
float getU () const
 Returns the u-coordinate in texture space.
float getV () const
 Returns the v-coordinate in texture space.
float getUvWidth () const
 Returns the width in texture space.
float getUvHeight () const
 Returns the height in texture space.
SO< FontTexturegetFontTexture () const
 Returns the FontTexture.
virtual GlyphTypeID getGlyphTypeID () const
 Returns the kind.
 VRS_TYPEINFO (ImageGlyph, AbstractGlyph)


Detailed Description

The Image Representation of a Glyph.

Constructor & Destructor Documentation

VRS::TEXT::ImageGlyph::ImageGlyph ( float  u,
float  v,
float  uvwidth,
float  uvheight,
SO< FontTexture ft 
)

virtual VRS::TEXT::ImageGlyph::~ImageGlyph (  )  [inline, virtual]


Member Function Documentation

float VRS::TEXT::ImageGlyph::getU (  )  const [inline]

Returns the u-coordinate in texture space.

float VRS::TEXT::ImageGlyph::getV (  )  const [inline]

Returns the v-coordinate in texture space.

float VRS::TEXT::ImageGlyph::getUvWidth (  )  const [inline]

Returns the width in texture space.

float VRS::TEXT::ImageGlyph::getUvHeight (  )  const [inline]

Returns the height in texture space.

SO<FontTexture> VRS::TEXT::ImageGlyph::getFontTexture (  )  const [inline]

Returns the FontTexture.

virtual GlyphTypeID VRS::TEXT::ImageGlyph::getGlyphTypeID (  )  const [virtual]

Returns the kind.

See also:
GlyphTypeID

Implements VRS::TEXT::AbstractGlyph.

VRS::TEXT::ImageGlyph::VRS_TYPEINFO ( ImageGlyph  ,
AbstractGlyph   
)


The documentation for this class was generated from the following file:

Generated on Wed May 23 06:00:35 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact