class FontImplementation


Inheritance:


Public Fields

[more]Font* _facade

Public Methods

[more]virtual std::string getFileName() const = 0
[more]virtual void setSize(unsigned int width, unsigned int height) = 0
Set the pixel width and height hint
[more]virtual Glyph* getGlyph(unsigned int charcode) = 0
Get a Glyph for specified charcode, and the font size nearest to the current font size hint
[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType) = 0
Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint
[more]virtual bool hasVertical() const = 0
Return true if this font provides vertical alignments and spacing or glyphs
[more]void setWidth(unsigned int width)
[more]void setHeight(unsigned int height)
[more]void addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)


Documentation

ovirtual std::string getFileName() const = 0

ovirtual void setSize(unsigned int width, unsigned int height) = 0
Set the pixel width and height hint

ovirtual Glyph* getGlyph(unsigned int charcode) = 0
Get a Glyph for specified charcode, and the font size nearest to the current font size hint

ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType) = 0
Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint

ovirtual bool hasVertical() const = 0
Return true if this font provides vertical alignments and spacing or glyphs

ovoid setWidth(unsigned int width)

ovoid setHeight(unsigned int height)

ovoid addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)

oFont* _facade


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.