Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfont_p.h File Reference

(16850709306589a2433c0038605d365a6b6bedad)

#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"
+ Include dependency graph for qfont_p.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ QFONT_WEIGHT_MAX

#define QFONT_WEIGHT_MAX   1000

Definition at line 36 of file qfont_p.h.

◆ QFONT_WEIGHT_MIN

#define QFONT_WEIGHT_MIN   1

Definition at line 35 of file qfont_p.h.

Function Documentation

◆ qHash()

size_t qHash ( const QFontDef & fd,
size_t seed = 0 )
inlinenoexcept

◆ qt_defaultDpi()

Q_GUI_EXPORT int qt_defaultDpi ( )

Definition at line 140 of file qfont.cpp.

◆ qt_defaultDpiX()

Q_GUI_EXPORT int qt_defaultDpiX ( )

Definition at line 110 of file qfont.cpp.

◆ qt_defaultDpiY()

Q_GUI_EXPORT int qt_defaultDpiY ( )

Definition at line 125 of file qfont.cpp.

References qt_is_tty_app.

◆ qt_legacyToOpenTypeWeight()

Q_GUI_EXPORT int qt_legacyToOpenTypeWeight ( int weight)

Definition at line 195 of file qfont.cpp.

References convertWeights().

+ Here is the call graph for this function:

◆ qt_openTypeToLegacyWeight()

Q_GUI_EXPORT int qt_openTypeToLegacyWeight ( int weight)

Definition at line 201 of file qfont.cpp.

References convertWeights().

+ Here is the call graph for this function: