QWindowsFontEngine Class
Standard Windows font engine. More...
#include <QWindowsFontEngine> Inherits: QObject.
Properties
Public Functions
| QWindowsFontEngine(const QString & name, HFONT, bool, LOGFONT, const QSharedPointer<QWindowsFontEngineData> & fontEngineData) |
| ~QWindowsFontEngine() |
const QSharedPointer<QWindowsFontEngineData> & | fontEngineData() const |
void | getCMap() |
int | getGlyphIndexes(const QChar * ch, int numChars, QGlyphLayout * glyphs, bool mirrored) const |
bool | getOutlineMetrics(glyph_t glyph, const QTransform & t, glyph_metrics_t * metrics) const |
HFONT | hFont() const |
void | initFontInfo(const QFontDef & request, HDC fontHdc, int dpi) |
LOGFONT | logFont() const |
HGDIOBJ | selectDesignFont() const |
void | setUniqueFamilyName(const QString & newName) |
bool | trueType() const |
Reimplemented Public Functions
virtual void | addGlyphsToPath(glyph_t * glyphs, QFixedPoint * positions, int nglyphs, QPainterPath * path, QTextItem::RenderFlags flags) |
virtual void | addOutlineToPath(qreal x, qreal y, const QGlyphLayout & glyphs, QPainterPath * path, QTextItem::RenderFlags flags) |
virtual QImage | alphaMapForGlyph(glyph_t t) |
virtual QImage | alphaMapForGlyph(glyph_t, const QTransform & xform) |
virtual QImage | alphaRGBMapForGlyph(glyph_t t, QFixed subPixelPosition, const QTransform & xform) |
virtual QFixed | ascent() const |
virtual QFixed | averageCharWidth() const |
virtual glyph_metrics_t | boundingBox(const QGlyphLayout & glyphs) |
virtual glyph_metrics_t | boundingBox(glyph_t g) |
virtual glyph_metrics_t | boundingBox(glyph_t g, const QTransform & t) |
virtual bool | canRender(const QChar * string, int len) |
virtual QFontEngine * | cloneWithSize(qreal pixelSize) const |
virtual QFixed | descent() const |
virtual QFixed | emSquareSize() const |
virtual FaceId | faceId() const |
virtual void | getGlyphBearings(glyph_t glyph, qreal * leftBearing = 0, qreal * rightBearing = 0) |
virtual bool | getSfntTableData(uint tag, uchar * buffer, uint * length) const |
virtual void | getUnscaledGlyph(glyph_t glyph, QPainterPath * path, glyph_metrics_t * metrics) |
virtual QFixed | leading() const |
virtual QFixed | lineThickness() const |
virtual qreal | maxCharWidth() const |
virtual qreal | minLeftBearing() const |
virtual qreal | minRightBearing() const |
virtual const char * | name() const |
virtual Properties | properties() const |
virtual void | recalcAdvances(QGlyphLayout * glyphs, QTextEngine::ShaperFlags) const |
virtual bool | stringToCMap(const QChar * str, int len, QGlyphLayout * glyphs, int * nglyphs, QTextEngine::ShaperFlags flags) const |
virtual int | synthesized() const |
virtual Type | type() const |
virtual QFixed | xHeight() const |
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 2 signal inherited from QObject
- 11 static public members inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
Standard Windows font engine.
Will probably be superseded by a common Free Type font engine in Qt 5.X.
Property Documentation
hFont : const HFONT
Access functions:
logFont : const LOGFONT
Access functions:
trueType : const bool
Access functions:
Member Function Documentation
QWindowsFontEngine::QWindowsFontEngine(const QString & name, HFONT, bool, LOGFONT, const QSharedPointer<QWindowsFontEngineData> & fontEngineData)
QWindowsFontEngine::~QWindowsFontEngine()
void QWindowsFontEngine::addGlyphsToPath(glyph_t * glyphs, QFixedPoint * positions, int nglyphs, QPainterPath * path, QTextItem::RenderFlags flags) [virtual]
void QWindowsFontEngine::addOutlineToPath(qreal x, qreal y, const QGlyphLayout & glyphs, QPainterPath * path, QTextItem::RenderFlags flags) [virtual]
QImage QWindowsFontEngine::alphaMapForGlyph(glyph_t t) [virtual]
QImage QWindowsFontEngine::alphaMapForGlyph(glyph_t, const QTransform & xform) [virtual]
QImage QWindowsFontEngine::alphaRGBMapForGlyph(glyph_t t, QFixed subPixelPosition, const QTransform & xform) [virtual]
QFixed QWindowsFontEngine::ascent() const [virtual]
QFixed QWindowsFontEngine::averageCharWidth() const [virtual]
glyph_metrics_t QWindowsFontEngine::boundingBox(const QGlyphLayout & glyphs) [virtual]
glyph_metrics_t QWindowsFontEngine::boundingBox(glyph_t g) [virtual]
glyph_metrics_t QWindowsFontEngine::boundingBox(glyph_t g, const QTransform & t) [virtual]
bool QWindowsFontEngine::canRender(const QChar * string, int len) [virtual]
QFontEngine * QWindowsFontEngine::cloneWithSize(qreal pixelSize) const [virtual]
QFixed QWindowsFontEngine::descent() const [virtual]
QFixed QWindowsFontEngine::emSquareSize() const [virtual]
FaceId QWindowsFontEngine::faceId() const [virtual]
const QSharedPointer<QWindowsFontEngineData> & QWindowsFontEngine::fontEngineData() const
void QWindowsFontEngine::getCMap()
void QWindowsFontEngine::getGlyphBearings(glyph_t glyph, qreal * leftBearing = 0, qreal * rightBearing = 0) [virtual]
int QWindowsFontEngine::getGlyphIndexes(const QChar * ch, int numChars, QGlyphLayout * glyphs, bool mirrored) const
bool QWindowsFontEngine::getOutlineMetrics(glyph_t glyph, const QTransform & t, glyph_metrics_t * metrics) const
bool QWindowsFontEngine::getSfntTableData(uint tag, uchar * buffer, uint * length) const [virtual]
void QWindowsFontEngine::getUnscaledGlyph(glyph_t glyph, QPainterPath * path, glyph_metrics_t * metrics) [virtual]
void QWindowsFontEngine::initFontInfo(const QFontDef & request, HDC fontHdc, int dpi)
QFixed QWindowsFontEngine::leading() const [virtual]
QFixed QWindowsFontEngine::lineThickness() const [virtual]
qreal QWindowsFontEngine::maxCharWidth() const [virtual]
qreal QWindowsFontEngine::minLeftBearing() const [virtual]
qreal QWindowsFontEngine::minRightBearing() const [virtual]
const char * QWindowsFontEngine::name() const [virtual]
Properties QWindowsFontEngine::properties() const [virtual]
void QWindowsFontEngine::recalcAdvances(QGlyphLayout * glyphs, QTextEngine::ShaperFlags) const [virtual]
HGDIOBJ QWindowsFontEngine::selectDesignFont() const
void QWindowsFontEngine::setUniqueFamilyName(const QString & newName)
bool QWindowsFontEngine::stringToCMap(const QChar * str, int len, QGlyphLayout * glyphs, int * nglyphs, QTextEngine::ShaperFlags flags) const [virtual]
int QWindowsFontEngine::synthesized() const [virtual]
Type QWindowsFontEngine::type() const [virtual]
QFixed QWindowsFontEngine::xHeight() const [virtual]
|