42 #ifndef QFONTENGINEDIRECTWRITE_H 43 #define QFONTENGINEDIRECTWRITE_H 45 #ifndef QT_NO_DIRECTWRITE 58 #include "private/qfontengine_p.h" 61 struct IDWriteFontFace ;
62 struct IDWriteFactory ;
63 struct IDWriteBitmapRenderTarget ;
64 struct IDWriteGdiInterop ;
73 IDWriteFontFace *directWriteFontFace,
100 const char *
name()
const;
134 #endif // QT_NO_DIRECTWRITE 136 #endif // QFONTENGINEDIRECTWRITE_H qreal maxCharWidth() const
#define QT_END_NAMESPACE
This macro expands to.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
IDWriteFontFace * m_directWriteFontFace
QFixed lineThickness() const
void recalcAdvances(QGlyphLayout *glyphs, QTextEngine::ShaperFlags) const
void addGlyphsToPath(glyph_t *glyphs, QFixedPoint *positions, int nglyphs, QPainterPath *path, QTextItem::RenderFlags flags)
IDWriteBitmapRenderTarget * m_directWriteBitmapRenderTarget
The QChar class provides a 16-bit Unicode character.
QImage imageForGlyph(glyph_t t, QFixed subPixelPosition, int margin, const QTransform &xform)
QImage alphaRGBMapForGlyph(glyph_t t, QFixed subPixelPosition, int margin, const QTransform &xform)
IDWriteFactory * m_directWriteFactory
#define QT_BEGIN_NAMESPACE
This macro expands to.
static float pixelSize(const QFontDef &request, int dpi)
bool supportsSubPixelPositions() const
static const QCssKnownValue positions[NumKnownPositionModes - 1]
bool getSfntTableData(uint tag, uchar *buffer, uint *length) const
The QImage class provides a hardware-independent image representation that allows direct access to th...
~QFontEngineDirectWrite()
glyph_metrics_t boundingBox(const QGlyphLayout &glyphs)
QImage alphaMapForGlyph(glyph_t, QFixed subPixelPosition, const QTransform &t)
bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags) const
QFontEngine * cloneWithSize(qreal pixelSize) const
QFontEngineDirectWrite(IDWriteFactory *directWriteFactory, IDWriteFontFace *directWriteFontFace, qreal pixelSize)
glyph_metrics_t alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, GlyphFormat format)
QFixed emSquareSize() const
bool canRender(const QChar *string, int len)
const char * name() const