OSG
3.4.0
|
#include <Font.h>
Public Member Functions | |
FontImplementation () | |
virtual std::string | getFileName () const =0 |
virtual bool | supportsMultipleFontResolutions () const =0 |
virtual Glyph * | getGlyph (const FontResolution &fontRes, unsigned int charcode)=0 |
virtual Glyph3D * | getGlyph3D (unsigned int charcode)=0 |
virtual osg::Vec2 | getKerning (unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)=0 |
virtual bool | hasVertical () const =0 |
void | addGlyph (const FontResolution &fontRes, unsigned int charcode, Glyph *glyph) |
virtual bool | getVerticalSize (float &, float &) const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Public Attributes | |
Font * | _facade |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
|
inline |
|
inline |
|
pure virtual |
Implemented in osgQt::QFontImplementation.
|
pure virtual |
Get a Glyph for specified charcode, and the font size nearest to the current font size hint.
Implemented in osgQt::QFontImplementation.
|
pure virtual |
Get a Glyph3D for specified charcode.
Implemented in osgQt::QFontImplementation.
|
pure virtual |
Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.
Implemented in osgQt::QFontImplementation.
|
inlinevirtual |
|
pure virtual |
Return true if this font provides vertical alignments and spacing or glyphs.
Implemented in osgQt::QFontImplementation.
|
pure virtual |
Implemented in osgQt::QFontImplementation.