![]() |
Qt 6.x
The Qt SDK
|
#include <qfontdatabase_p.h>
Classes | |
struct | Key |
Public Member Functions | |
QtFontStyle (const Key &k) | |
~QtFontStyle () | |
QtFontSize * | pixelSize (unsigned short size, bool=false) |
Public Attributes | |
Key | key |
bool | bitmapScalable: 1 |
bool | smoothScalable: 1 |
signed int | count: 30 |
QtFontSize * | pixelSizes |
QString | styleName |
bool | antialiased |
Definition at line 64 of file qfontdatabase_p.h.
|
inline |
Definition at line 98 of file qfontdatabase_p.h.
QtFontStyle::~QtFontStyle | ( | ) |
Definition at line 814 of file qfontdatabase.cpp.
References QPlatformIntegration::fontDatabase(), pixelSizes, QGuiApplicationPrivate::platformIntegration(), and QPlatformFontDatabase::releaseHandle().
QtFontSize * QtFontStyle::pixelSize | ( | unsigned short | size, |
bool | add = false |
||
) |
Definition at line 171 of file qfontdatabase.cpp.
References add(), count, QtFontSize::handle, i, QtFontSize::pixelSize, pixelSize(), pixelSizes, and Q_CHECK_PTR().
Referenced by pixelSize(), and qt_registerFont().
bool QtFontStyle::antialiased |
Definition at line 117 of file qfontdatabase_p.h.
Referenced by qt_registerFont().
bool QtFontStyle::bitmapScalable |
Definition at line 112 of file qfontdatabase_p.h.
Referenced by QFontDatabase::isBitmapScalable().
signed int QtFontStyle::count |
Definition at line 114 of file qfontdatabase_p.h.
Referenced by QFontDatabasePrivate::clearFamilies(), QFontDatabasePrivate::family(), QtFontFamily::foundry(), pixelSize(), QFontDatabase::pointSizes(), QFontDatabase::smoothSizes(), and QtFontFoundry::style().
Key QtFontStyle::key |
Definition at line 111 of file qfontdatabase_p.h.
Referenced by bestStyle(), QFontDatabase::bold(), QPlatformFontDatabase::fallbacksForFamily(), QFontDatabasePrivate::findFont(), QFontDatabase::font(), QFontDatabase::isBitmapScalable(), QFontDatabase::italic(), QFontDatabase::styles(), and QFontDatabase::weight().
QtFontSize* QtFontStyle::pixelSizes |
Definition at line 115 of file qfontdatabase_p.h.
Referenced by ~QtFontStyle(), pixelSize(), QFontDatabase::pointSizes(), and QFontDatabase::smoothSizes().
bool QtFontStyle::smoothScalable |
Definition at line 113 of file qfontdatabase_p.h.
Referenced by QFontDatabase::isBitmapScalable(), QFontDatabase::isSmoothlyScalable(), QFontDatabase::pointSizes(), qt_registerFont(), and QFontDatabase::smoothSizes().
QString QtFontStyle::styleName |
Definition at line 116 of file qfontdatabase_p.h.
Referenced by bestStyle(), QFontDatabase::bold(), QFontDatabase::font(), QFontDatabase::isBitmapScalable(), QFontDatabase::italic(), QFontDatabase::pointSizes(), QFontDatabase::smoothSizes(), QtFontFoundry::style(), QFontDatabase::styles(), and QFontDatabase::weight().