Qt 4.8
|
#include <qfont_p.h>
Public Functions | |
void | alterCharForCapitalization (QChar &c) const |
QFontEngine * | engineForScript (int script) const |
QFontPrivate () | |
QFontPrivate (const QFontPrivate &other) | |
void | resolve (uint mask, const QFontPrivate *other) |
QFont | smallCapsFont () const |
QFontPrivate * | smallCapsFontPrivate () const |
~QFontPrivate () | |
Static Public Functions | |
static QFontPrivate * | get (const QFont &font) |
Public Variables | |
uint | capital: 3 |
int | dpi |
QFontEngineData * | engineData |
HDC | hdc |
uint | kerning: 1 |
QFixed | letterSpacing |
bool | letterSpacingIsAbsolute: 1 |
uint | overline: 1 |
uint | rawMode: 1 |
QAtomicInt | ref |
QFontDef | request |
QFontPrivate * | scFont |
int | screen |
uint | strikeOut: 1 |
uint | underline: 1 |
QFixed | wordSpacing |
Static Public Variables | |
static int | defaultEncodingID = -1 |
Private Functions | |
QFontPrivate & | operator= (const QFontPrivate &) |
QFontPrivate::QFontPrivate | ( | ) |
Definition at line 245 of file qfont.cpp.
QFontPrivate::QFontPrivate | ( | const QFontPrivate & | other | ) |
void QFontPrivate::alterCharForCapitalization | ( | QChar & | c | ) | const |
Definition at line 309 of file qfont.cpp.
Referenced by QFontMetrics::boundingRect(), QFontMetricsF::boundingRect(), QFontMetrics::charWidth(), QFontMetrics::leftBearing(), QFontMetricsF::leftBearing(), QFontMetrics::rightBearing(), QFontMetricsF::rightBearing(), QFontMetrics::width(), and QFontMetricsF::width().
QFontEngine * QFontPrivate::engineForScript | ( | int | script | ) | const |
Definition at line 294 of file qfont.cpp.
Referenced by QPainterPath::addText(), QFontMetrics::ascent(), QFontMetricsF::ascent(), QFontMetrics::averageCharWidth(), QFontMetricsF::averageCharWidth(), QFontMetrics::boundingRect(), QFontMetricsF::boundingRect(), QFontMetrics::charWidth(), QFontMetrics::descent(), QFontMetricsF::descent(), QTextLine::draw(), QTextEngine::elidedText(), QFontInfo::exactMatch(), QFont::exactMatch(), QFontInfo::family(), QFontInfo::fixedPitch(), QTextEngine::fontEngine(), QFont::freetypeFace(), QRawFont::fromFont(), QTextLine::glyphs(), QFont::handle(), QFontMetrics::height(), QFontMetricsF::height(), QFontMetrics::inFont(), QFontMetricsF::inFont(), QFontMetrics::inFontUcs4(), QFontMetricsF::inFontUcs4(), QFontInfo::italic(), QFontMetrics::leading(), QFontMetricsF::leading(), QFontMetrics::leftBearing(), QFontMetricsF::leftBearing(), QFontMetrics::lineSpacing(), QFontMetricsF::lineSpacing(), QFontMetrics::lineWidth(), QFontMetricsF::lineWidth(), QFont::macFontID(), QFontMetrics::maxWidth(), QFontMetricsF::maxWidth(), QFontMetrics::minLeftBearing(), QFontMetricsF::minLeftBearing(), QFontMetrics::minRightBearing(), QFontMetricsF::minRightBearing(), QFontInfo::pixelSize(), QFontInfo::pointSize(), pointSize(), QFontInfo::pointSizeF(), QPainterReplayer::process(), qgl_use_font(), qt_x11_set_fallback_font_family(), QTextItemInt::QTextItemInt(), QFontMetrics::rightBearing(), QFontMetricsF::rightBearing(), QScriptLine::setDefaultHeight(), QFontDialogPrivate::setFont(), QFontInfo::style(), QFontInfo::styleHint(), QFontInfo::styleName(), QFontMetrics::underlinePos(), QFontMetricsF::underlinePos(), QFontInfo::weight(), QFontMetrics::width(), QFontMetricsF::width(), QFontMetrics::xHeight(), and QFontMetricsF::xHeight().
|
inlinestatic |
Definition at line 202 of file qfont_p.h.
Referenced by QRawFont::fromFont(), and QPainterReplayer::process().
|
inlineprivate |
void QFontPrivate::resolve | ( | uint | mask, |
const QFontPrivate * | other | ||
) |
Definition at line 340 of file qfont.cpp.
Referenced by QFont::resolve().
|
inline |
Definition at line 199 of file qfont_p.h.
Referenced by QTextEngine::font().
QFontPrivate * QFontPrivate::smallCapsFontPrivate | ( | ) | const |
Definition at line 323 of file qfont.cpp.
Referenced by QFontMetrics::boundingRect(), QFontMetricsF::boundingRect(), QFontMetrics::charWidth(), QTextEngine::fontEngine(), QFontMetrics::leftBearing(), QFontMetricsF::leftBearing(), QFontMetrics::rightBearing(), QFontMetricsF::rightBearing(), QFontMetrics::width(), QFontMetricsF::width(), QFontMetrics::xHeight(), and QFontMetricsF::xHeight().
uint QFontPrivate::capital |
Definition at line 192 of file qfont_p.h.
Referenced by alterCharForCapitalization(), QFontMetrics::boundingRect(), QFontMetricsF::boundingRect(), QFont::capitalization(), QFontMetrics::charWidth(), QTextEngine::itemize(), QFontMetrics::leftBearing(), QFontMetricsF::leftBearing(), QFont::operator<(), QFont::operator==(), resolve(), QFontMetrics::rightBearing(), QFontMetricsF::rightBearing(), QFont::setCapitalization(), QFontMetrics::width(), QFontMetricsF::width(), QFontMetrics::xHeight(), and QFontMetricsF::xHeight().
|
static |
Definition at line 167 of file qfont_p.h.
Referenced by findEncoding(), and qt_x11_set_fallback_font_family().
int QFontPrivate::dpi |
Definition at line 180 of file qfont_p.h.
Referenced by QTextEngine::calculateTabWidth(), QPicturePaintEngine::drawTextItem(), QFontDatabase::findFont(), QFontDatabase::load(), loadRaw(), loadWin(), QFontDatabase::loadXlfd(), QFont::QFont(), QFontMetrics::QFontMetrics(), QFontMetricsF::QFontMetricsF(), qt_x11_set_fallback_font_family(), registerFont(), resolve(), QFont::resolve(), and QTextEngine::shapeText().
|
mutable |
Definition at line 179 of file qfont_p.h.
Referenced by QFont::detach(), engineForScript(), QFontDatabase::findFont(), getEngineData(), QFontDatabase::load(), loadWin(), QFontDatabase::loadXlfd(), registerFont(), and ~QFontPrivate().
HDC QFontPrivate::hdc |
Definition at line 184 of file qfont_p.h.
Referenced by loadWin(), QFont::QFont(), and QFontPrivate().
uint QFontPrivate::kerning |
Definition at line 191 of file qfont_p.h.
Referenced by get_font_bits(), QFont::kerning(), QFontDatabase::load(), loadFromDatabase(), QFont::operator<(), QFont::operator==(), resolve(), set_font_bits(), and QFont::setKerning().
QFixed QFontPrivate::letterSpacing |
Definition at line 195 of file qfont_p.h.
Referenced by QFont::letterSpacing(), QFont::operator<(), QFont::operator==(), resolve(), QFont::setLetterSpacing(), and QTextEngine::shapeText().
bool QFontPrivate::letterSpacingIsAbsolute |
Definition at line 193 of file qfont_p.h.
Referenced by get_extended_font_bits(), QFont::letterSpacingType(), QFont::operator<(), QFont::operator==(), resolve(), set_extended_font_bits(), QFont::setLetterSpacing(), and QTextEngine::shapeText().
uint QFontPrivate::overline |
Definition at line 189 of file qfont_p.h.
Referenced by QPainterPath::addText(), get_font_bits(), QTextItemInt::initWithScriptItem(), QFont::operator<(), QFont::operator==(), QFontInfo::overline(), QFont::overline(), resolve(), set_font_bits(), and QFont::setOverline().
uint QFontPrivate::rawMode |
Definition at line 187 of file qfont_p.h.
Referenced by QFontInfo::exactMatch(), QFont::exactMatch(), get_font_bits(), loadRaw(), loadWin(), QFontDatabase::loadXlfd(), QFontInfo::rawMode(), QFont::rawMode(), registerFont(), set_font_bits(), and QFont::setRawMode().
QAtomicInt QFontPrivate::ref |
Definition at line 177 of file qfont_p.h.
Referenced by QFont::detach(), QFontPrivate(), smallCapsFontPrivate(), and ~QFontPrivate().
QFontDef QFontPrivate::request |
Definition at line 178 of file qfont_p.h.
Referenced by QFont::defaultFamily(), QFontInfo::exactMatch(), QFont::exactMatch(), QFont::family(), QFontDatabase::findFont(), QFont::fixedPitch(), QFont::freetypeFace(), QFont::fromString(), get_extended_font_bits(), get_font_bits(), QFont::hintingPreference(), QFontDatabase::load(), loadWin(), QFontDatabase::loadXlfd(), QFont::operator<(), QFont::operator==(), QFont::pixelSize(), pointSize(), QFont::pointSize(), QFont::pointSizeF(), QFont::QFont(), qt_x11_set_fallback_font_family(), registerFont(), resolve(), set_extended_font_bits(), set_font_bits(), QFont::setFamily(), QFont::setFixedPitch(), QFont::setHintingPreference(), QFont::setPixelSize(), QFont::setPointSize(), QFont::setPointSizeF(), QFont::setStretch(), QFont::setStyle(), QFont::setStyleHint(), QFont::setStyleName(), QFont::setStyleStrategy(), QFont::setWeight(), QFont::stretch(), QFont::style(), QFont::styleHint(), QFont::styleName(), QFont::styleStrategy(), and QFont::weight().
|
mutable |
Definition at line 198 of file qfont_p.h.
Referenced by QFont::detach(), QFontPrivate(), smallCapsFontPrivate(), and ~QFontPrivate().
int QFontPrivate::screen |
Definition at line 181 of file qfont_p.h.
Referenced by getFcPattern(), QFontDatabase::load(), loadFc(), loadWin(), QFontDatabase::loadXlfd(), QFont::QFont(), QFontMetrics::QFontMetrics(), QFontMetricsF::QFontMetricsF(), QFontPrivate(), and qt_x11_set_fallback_font_family().
uint QFontPrivate::strikeOut |
Definition at line 190 of file qfont_p.h.
Referenced by QPainterPath::addText(), get_font_bits(), QTextItemInt::initWithScriptItem(), QFont::operator<(), QFont::operator==(), resolve(), set_font_bits(), QFont::setStrikeOut(), QFontInfo::strikeOut(), and QFont::strikeOut().
uint QFontPrivate::underline |
Definition at line 188 of file qfont_p.h.
Referenced by QPainterPath::addText(), get_font_bits(), QTextItemInt::initWithScriptItem(), QFont::operator<(), QFont::operator==(), resolve(), set_font_bits(), QFont::setUnderline(), QFontInfo::underline(), and QFont::underline().
QFixed QFontPrivate::wordSpacing |
Definition at line 196 of file qfont_p.h.
Referenced by QFont::operator<(), QFont::operator==(), resolve(), QFont::setWordSpacing(), QTextEngine::shapeText(), and QFont::wordSpacing().