OSG
3.4.0
|
#include <QFontImplementation.h>
Public Member Functions | |
QFontImplementation (const QFont &font) | |
virtual | ~QFontImplementation () |
virtual std::string | getFileName () const |
virtual bool | supportsMultipleFontResolutions () const |
virtual osgText::Glyph * | getGlyph (const osgText::FontResolution &fontRes, unsigned int charcode) |
virtual osgText::Glyph3D * | getGlyph3D (unsigned int) |
virtual osg::Vec2 | getKerning (unsigned int leftcharcode, unsigned int rightcharcode, osgText::KerningType kerningType) |
virtual bool | hasVertical () const |
![]() | |
FontImplementation () | |
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 |
Protected Attributes | |
std::string | _filename |
QFont | _font |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
Font * | _facade |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Definition at line 26 of file QFontImplementation.h.
osgQt::QFontImplementation::QFontImplementation | ( | const QFont & | font | ) |
|
virtual |
|
virtual |
Implements osgText::Font::FontImplementation.
|
virtual |
Get a Glyph for specified charcode, and the font size nearest to the current font size hint.
Implements osgText::Font::FontImplementation.
|
inlinevirtual |
Get a Glyph3D for specified charcode.
Implements osgText::Font::FontImplementation.
Definition at line 38 of file QFontImplementation.h.
|
virtual |
Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.
Implements osgText::Font::FontImplementation.
|
virtual |
Return true if this font provides vertical alignments and spacing or glyphs.
Implements osgText::Font::FontImplementation.
|
inlinevirtual |
Implements osgText::Font::FontImplementation.
Definition at line 34 of file QFontImplementation.h.
|
protected |
Definition at line 46 of file QFontImplementation.h.
|
protected |
Definition at line 47 of file QFontImplementation.h.