![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Standard Windows font engine. More...
#include <qwindowsfontengine_p.h>
Protected Member Functions | |
void | initializeHeightMetrics () const override |
Protected Member Functions inherited from QFontEngine | |
QFontEngine (Type type) | |
QFixed | firstLeftBearing (const QGlyphLayout &glyphs) |
QFixed | lastRightBearing (const QGlyphLayout &glyphs) |
QFixed | calculatedCapHeight () const |
bool | processHheaTable () const |
bool | processOS2Table () const |
Standard Windows font engine.
Will probably be superseded by a common Free Type font engine in Qt 5.X.
Definition at line 31 of file qwindowsfontengine_p.h.
QWindowsFontEngine::QWindowsFontEngine | ( | const QString & | name, |
LOGFONT | lf, | ||
const QSharedPointer< QWindowsFontEngineData > & | fontEngineData ) |
Definition at line 187 of file qwindowsfontengine.cpp.
|
override |
Definition at line 221 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 755 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 785 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 994 of file qwindowsfontengine.cpp.
Create a qimage with the alpha values for the glyph. Returns an image indexed_8 with index values ranging from 0=fully transparent to 255=opaque
Reimplemented from QFontEngine.
Definition at line 71 of file qwindowsfontengine_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1008 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1062 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 502 of file qwindowsfontengine.cpp.
|
inlineoverridevirtual |
Implements QFontEngine.
Definition at line 60 of file qwindowsfontengine_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 417 of file qwindowsfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 481 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1098 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 834 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 801 of file qwindowsfontengine.cpp.
|
inline |
Definition at line 96 of file qwindowsfontengine_p.h.
void QWindowsFontEngine::getCMap | ( | ) |
Definition at line 98 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 538 of file qwindowsfontengine.cpp.
int QWindowsFontEngine::getGlyphIndexes | ( | const QChar * | ch, |
int | numChars, | ||
QGlyphLayout * | glyphs, | ||
int * | mappedGlyphs ) const |
Definition at line 136 of file qwindowsfontengine.cpp.
bool QWindowsFontEngine::getOutlineMetrics | ( | glyph_t | glyph, |
const QTransform & | t, | ||
glyph_metrics_t * | metrics ) const |
Definition at line 364 of file qwindowsfontengine.cpp.
|
overridevirtual |
Returns true
if the font table idetified by tag exists in the font; returns false
otherwise.
If buffer is \nullptr, stores the size of the buffer required for the font table data, in bytes, in length. If buffer is not \nullptr and the capacity of the buffer, passed in length, is sufficient to store the font table data, also copies the font table data to buffer.
Note: returning false
when the font table exists could lead to an undefined behavior.
Reimplemented from QFontEngine.
Definition at line 884 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 866 of file qwindowsfontengine.cpp.
References synthesized().
Implements QFontEngine.
Definition at line 244 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1124 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 565 of file qwindowsfontengine.cpp.
Definition at line 1129 of file qwindowsfontengine.cpp.
|
overrideprotectedvirtual |
Reimplemented from QFontEngine.
Definition at line 556 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 62 of file qwindowsfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 507 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 570 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 578 of file qwindowsfontengine.cpp.
References char_table_entries.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 839 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 293 of file qwindowsfontengine.cpp.
HGDIOBJ QWindowsFontEngine::selectDesignFont | ( | ) | const |
Definition at line 261 of file qwindowsfontengine.cpp.
Definition at line 98 of file qwindowsfontengine_p.h.
|
overridevirtual |
Implements QFontEngine.
Definition at line 270 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1146 of file qwindowsfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 810 of file qwindowsfontengine.cpp.
Referenced by getUnscaledGlyph().
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 495 of file qwindowsfontengine.cpp.