QRawFont

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
version(!QT_NO_RAWFONT)
extern (C++) extern (C++)
struct QRawFont {}

Constructors

this
this()
Undocumented in source.
this
this(const(QString) fileName, qreal pixelSize, QFont.HintingPreference hintingPreference)
Undocumented in source.
this
this(const(QByteArray) fontData, qreal pixelSize, QFont.HintingPreference hintingPreference)
Undocumented in source.
this
this(const(QRawFont) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

LayoutFlags
alias LayoutFlags = QFlags!(LayoutFlag)
Undocumented in source.

Enums

AntialiasingType
enum AntialiasingType
Undocumented in source.
LayoutFlag
enum LayoutFlag
Undocumented in source.

Functions

advancesForGlyphIndexes
QVector!(QPointF) advancesForGlyphIndexes(const(QVector!(quint32)) glyphIndexes)
Undocumented in source. Be warned that the author may not have intended to support it.
advancesForGlyphIndexes
QVector!(QPointF) advancesForGlyphIndexes(const(QVector!(quint32)) glyphIndexes, LayoutFlags layoutFlags)
Undocumented in source. Be warned that the author may not have intended to support it.
advancesForGlyphIndexes
bool advancesForGlyphIndexes(const(quint32)* glyphIndexes, QPointF* advances, int numGlyphs)
Undocumented in source.
advancesForGlyphIndexes
bool advancesForGlyphIndexes(const(quint32)* glyphIndexes, QPointF* advances, int numGlyphs, LayoutFlags layoutFlags)
Undocumented in source.
alphaMapForGlyph
QImage alphaMapForGlyph(quint32 glyphIndex, AntialiasingType antialiasingType, const(QTransform) transform)
Undocumented in source.
ascent
qreal ascent()
Undocumented in source.
averageCharWidth
qreal averageCharWidth()
Undocumented in source.
boundingRect
QRectF boundingRect(quint32 glyphIndex)
Undocumented in source.
capHeight
qreal capHeight()
Undocumented in source.
descent
qreal descent()
Undocumented in source.
familyName
QString familyName()
Undocumented in source.
fontTable
QByteArray fontTable(const(char)* tagName)
Undocumented in source.
glyphIndexesForChars
bool glyphIndexesForChars(const(QChar)* chars, int numChars, quint32* glyphIndexes, int* numGlyphs)
Undocumented in source.
glyphIndexesForString
QVector!(quint32) glyphIndexesForString(const(QString) text)
Undocumented in source.
hintingPreference
QFont.HintingPreference hintingPreference()
Undocumented in source.
isValid
bool isValid()
Undocumented in source.
leading
qreal leading()
Undocumented in source.
lineThickness
qreal lineThickness()
Undocumented in source.
loadFromData
void loadFromData(const(QByteArray) fontData, qreal pixelSize, QFont.HintingPreference hintingPreference)
Undocumented in source.
loadFromFile
void loadFromFile(const(QString) fileName, qreal pixelSize, QFont.HintingPreference hintingPreference)
Undocumented in source.
maxCharWidth
qreal maxCharWidth()
Undocumented in source.
pathForGlyph
QPainterPath pathForGlyph(quint32 glyphIndex)
Undocumented in source.
pixelSize
qreal pixelSize()
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
setPixelSize
void setPixelSize(qreal pixelSize)
Undocumented in source.
style
QFont.Style style()
Undocumented in source.
styleName
QString styleName()
Undocumented in source.
supportedWritingSystems
QList!(QFontDatabase.WritingSystem) supportedWritingSystems()
Undocumented in source.
supportsCharacter
bool supportsCharacter(uint ucs4)
Undocumented in source.
supportsCharacter
bool supportsCharacter(QChar character)
Undocumented in source.
underlinePosition
qreal underlinePosition()
Undocumented in source.
unitsPerEm
qreal unitsPerEm()
Undocumented in source.
weight
int weight()
Undocumented in source.
xHeight
qreal xHeight()
Undocumented in source.

Static functions

create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
fromFont
QRawFont fromFont(const(QFont) font, QFontDatabase.WritingSystem writingSystem)
Undocumented in source.

Meta