QAbstractFontEngine Class Reference
#include <qabstractfontengine_qws.h>
Definition at line 127 of file qabstractfontengine_qws.h.
|
| enum | Capability { CanOutlineGlyphs = 1,
CanRenderGlyphs_Mono = 2,
CanRenderGlyphs_Gray = 4,
CanRenderGlyphs = CanRenderGlyphs_Mono | CanRenderGlyphs_Gray
} |
| |
| enum | FontProperty {
Ascent,
Descent,
Leading,
XHeight,
AverageCharWidth,
LineThickness,
UnderlinePosition,
MaxCharWidth,
MinLeftBearing,
MinRightBearing,
GlyphCount,
CacheGlyphsHint,
OutlineGlyphsHint
} |
| |
| enum | TextShapingFlag { RightToLeft = 0x0001,
ReturnDesignMetrics = 0x0002
} |
| |
| typedef int | Fixed |
| |
|
| | QAbstractFontEngine (QObject *parent=0) |
| |
| | ~QAbstractFontEngine () |
| |
| virtual Capabilities | capabilities () const =0 |
| |
| virtual QVariant | fontProperty (FontProperty property) const =0 |
| |
| virtual bool | convertStringToGlyphIndices (const QChar *string, int length, uint *glyphs, int *numGlyphs, TextShapingFlags flags) const =0 |
| |
| virtual void | getGlyphAdvances (const uint *glyphs, int numGlyphs, Fixed *advances, TextShapingFlags flags) const =0 |
| |
| virtual GlyphMetrics | glyphMetrics (uint glyph) const =0 |
| |
| virtual bool | renderGlyph (uint glyph, int depth, int bytesPerLine, int height, uchar *buffer) |
| |
| virtual void | addGlyphOutlinesToPath (uint *glyphs, int numGlyphs, FixedPoint *positions, QPainterPath *path) |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
|
| void | deleteLater () |
| |
| void | destroyed (QObject *=0) |
| |
| static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| |
| static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
| |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| |
| static uint | registerUserData () |
| |
| QObject * | sender () const |
| |
| int | senderSignalIndex () const |
| |
| int | receivers (const char *signal) const |
| |
| virtual void | timerEvent (QTimerEvent *) |
| |
| virtual void | childEvent (QChildEvent *) |
| |
| virtual void | customEvent (QEvent *) |
| |
| virtual void | connectNotify (const char *signal) |
| |
| virtual void | disconnectNotify (const char *signal) |
| |
| | QObject (QObjectPrivate &dd, QObject *parent=0) |
| |
| QScopedPointer< QObjectData > | d_ptr |
| |
| static const QMetaObject | staticQtMetaObject |
| |
| QString | objectName |
| |
| Enumerator |
|---|
| CanOutlineGlyphs |
|
| CanRenderGlyphs_Mono |
|
| CanRenderGlyphs_Gray |
|
| CanRenderGlyphs |
|
Definition at line 131 of file qabstractfontengine_qws.h.
| Enumerator |
|---|
| Ascent |
|
| Descent |
|
| Leading |
|
| XHeight |
|
| AverageCharWidth |
|
| LineThickness |
|
| UnderlinePosition |
|
| MaxCharWidth |
|
| MinLeftBearing |
|
| MinRightBearing |
|
| GlyphCount |
|
| CacheGlyphsHint |
|
| OutlineGlyphsHint |
|
Definition at line 162 of file qabstractfontengine_qws.h.
| virtual Capabilities capabilities |
( |
| ) |
const |
|
pure virtual |
| virtual bool convertStringToGlyphIndices |
( |
const QChar * |
string, |
|
|
int |
length, |
|
|
uint * |
glyphs, |
|
|
int * |
numGlyphs, |
|
|
TextShapingFlags |
flags |
|
) |
| const |
|
pure virtual |
| virtual void getGlyphAdvances |
( |
const uint * |
glyphs, |
|
|
int |
numGlyphs, |
|
|
Fixed * |
advances, |
|
|
TextShapingFlags |
flags |
|
) |
| const |
|
pure virtual |
| virtual bool renderGlyph |
( |
uint |
glyph, |
|
|
int |
depth, |
|
|
int |
bytesPerLine, |
|
|
int |
height, |
|
|
uchar * |
buffer |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file: