Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QWindowsFontEngine Class

Standard Windows font engine. More...

 #include <QWindowsFontEngine>

Inherits: QObject.

Properties

  • 1 property inherited from QObject

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:

HFONT hFont() const

logFont : const LOGFONT

Access functions:

LOGFONT logFont() const

trueType : const bool

Access functions:

bool trueType() const

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]

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web