![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtGui/private/qtguiglobal_p.h>#include "QtGui/qfont.h"#include "QtCore/qbasictimer.h"#include "QtCore/qmap.h"#include "QtCore/qhash.h"#include "QtCore/qobject.h"#include "QtCore/qstringlist.h"#include <QtGui/qfontdatabase.h>#include "private/qfixed_p.h"#include "private/qfontdatabase_p.h"Go to the source code of this file.
Classes | |
| struct | QFontDef |
| class | QFontEngineData |
| class | QFontPrivate |
| class | QFontCache |
| struct | QFontCache::Key |
| struct | QFontCache::Engine |
Macros | |
| #define | QFONT_WEIGHT_MIN 1 |
| #define | QFONT_WEIGHT_MAX 1000 |
Functions | |
| size_t | qHash (const QFontDef &fd, size_t seed=0) noexcept |
| Q_GUI_EXPORT int | qt_defaultDpiX () |
| Q_GUI_EXPORT int | qt_defaultDpiY () |
| Q_GUI_EXPORT int | qt_defaultDpi () |
| Q_GUI_EXPORT int | qt_legacyToOpenTypeWeight (int weight) |
| Q_GUI_EXPORT int | qt_openTypeToLegacyWeight (int weight) |
|
inlinenoexcept |
Definition at line 130 of file qfont_p.h.
References QFontDef::fixedPitch, QFontDef::hintingPreference, QFontDef::ignorePitch, QFontDef::stretch, QFontDef::style, QFontDef::styleHint, QFontDef::styleStrategy, and QFontDef::weight.
| Q_GUI_EXPORT int qt_defaultDpiY | ( | ) |
Definition at line 128 of file qfont.cpp.
References qt_is_tty_app.
| Q_GUI_EXPORT int qt_legacyToOpenTypeWeight | ( | int | weight | ) |
Definition at line 198 of file qfont.cpp.
References convertWeights().
| Q_GUI_EXPORT int qt_openTypeToLegacyWeight | ( | int | weight | ) |
Definition at line 204 of file qfont.cpp.
References convertWeights().