Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtFontStyle Struct Reference

#include <qfontdatabase_p.h>

+ Collaboration diagram for QtFontStyle:

Classes

struct  Key
 

Public Member Functions

 QtFontStyle (const Key &k)
 
 ~QtFontStyle ()
 
QtFontSizepixelSize (unsigned short size, bool=false)
 

Public Attributes

Key key
 
bool bitmapScalable: 1
 
bool smoothScalable: 1
 
signed int count: 30
 
QtFontSizepixelSizes
 
QString styleName
 
bool antialiased
 

Detailed Description

Definition at line 64 of file qfontdatabase_p.h.

Constructor & Destructor Documentation

◆ QtFontStyle()

QtFontStyle::QtFontStyle ( const Key & k)
inline

Definition at line 98 of file qfontdatabase_p.h.

Referenced by QtFontFoundry::style().

+ Here is the caller graph for this function:

◆ ~QtFontStyle()

QtFontStyle::~QtFontStyle ( )

Definition at line 815 of file qfontdatabase.cpp.

References QPlatformIntegration::fontDatabase(), pixelSizes, and QGuiApplicationPrivate::platformIntegration().

+ Here is the call graph for this function:

Member Function Documentation

◆ pixelSize()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ antialiased

bool QtFontStyle::antialiased

Definition at line 117 of file qfontdatabase_p.h.

Referenced by qt_registerFont().

◆ bitmapScalable

bool QtFontStyle::bitmapScalable

Definition at line 112 of file qfontdatabase_p.h.

Referenced by QFontDatabase::isBitmapScalable().

◆ count

◆ key

◆ pixelSizes

QtFontSize* QtFontStyle::pixelSizes

◆ smoothScalable

◆ styleName


The documentation for this struct was generated from the following files: