|
Krita Source Code Documentation
|
The KoCSSFontInfo class Convenience struct to make it easier to use KoFontRegistry. This struct contains default css values and can generate the axisvalues for the given values. More...
#include <KoCSSFontInfo.h>
Inheritance diagram for KoCSSFontInfo:Public Member Functions | |
| QMap< QString, double > | computedAxisSettings () const |
| bool | operator== (const KoCSSFontInfo &rhs) const |
Public Attributes | |
| bool | automaticOpticalSizing = true |
| < Size in Pt. | |
| bool | autoSlant = true |
| QMap< QString, double > | axisSettings |
| QStringList | families |
| double | fontSizeAdjust = 0.0 |
| double | size = -1 |
| QFont::Style | slantMode = QFont::StyleNormal |
| double | slantValue = 0.0 |
| double | weight = 400 |
| double | width = 100 |
The KoCSSFontInfo class Convenience struct to make it easier to use KoFontRegistry. This struct contains default css values and can generate the axisvalues for the given values.
Definition at line 21 of file KoCSSFontInfo.h.
|
inline |
Definition at line 37 of file KoCSSFontInfo.h.
|
inline |
Definition at line 58 of file KoCSSFontInfo.h.
References automaticOpticalSizing, autoSlant, axisSettings, families, qFuzzyCompare(), size, slantMode, slantValue, weight, and width.
| bool KoCSSFontInfo::automaticOpticalSizing = true |
< Size in Pt.
Definition at line 26 of file KoCSSFontInfo.h.
| bool KoCSSFontInfo::autoSlant = true |
Definition at line 32 of file KoCSSFontInfo.h.
| QMap<QString, double> KoCSSFontInfo::axisSettings |
Definition at line 35 of file KoCSSFontInfo.h.
| QStringList KoCSSFontInfo::families |
Definition at line 23 of file KoCSSFontInfo.h.
| double KoCSSFontInfo::fontSizeAdjust = 0.0 |
Definition at line 27 of file KoCSSFontInfo.h.
| double KoCSSFontInfo::size = -1 |
Definition at line 25 of file KoCSSFontInfo.h.
| QFont::Style KoCSSFontInfo::slantMode = QFont::StyleNormal |
Definition at line 31 of file KoCSSFontInfo.h.
| double KoCSSFontInfo::slantValue = 0.0 |
Definition at line 33 of file KoCSSFontInfo.h.
| double KoCSSFontInfo::weight = 400 |
Definition at line 28 of file KoCSSFontInfo.h.
| double KoCSSFontInfo::width = 100 |
Definition at line 29 of file KoCSSFontInfo.h.