#include <SkFontStyle.h>
|
enum | Weight {
kInvisible_Weight = 0
, kThin_Weight = 100
, kExtraLight_Weight = 200
, kLight_Weight = 300
,
kNormal_Weight = 400
, kMedium_Weight = 500
, kSemiBold_Weight = 600
, kBold_Weight = 700
,
kExtraBold_Weight = 800
, kBlack_Weight = 900
, kExtraBlack_Weight = 1000
} |
|
enum | Width {
kUltraCondensed_Width = 1
, kExtraCondensed_Width = 2
, kCondensed_Width = 3
, kSemiCondensed_Width = 4
,
kNormal_Width = 5
, kSemiExpanded_Width = 6
, kExpanded_Width = 7
, kExtraExpanded_Width = 8
,
kUltraExpanded_Width = 9
} |
|
enum | Slant { kUpright_Slant
, kItalic_Slant
, kOblique_Slant
} |
|
◆ Slant
Enumerator |
---|
kUpright_Slant | |
kItalic_Slant | |
kOblique_Slant | |
◆ Weight
Enumerator |
---|
kInvisible_Weight | |
kThin_Weight | |
kExtraLight_Weight | |
kLight_Weight | |
kNormal_Weight | |
kMedium_Weight | |
kSemiBold_Weight | |
kBold_Weight | |
kExtraBold_Weight | |
kBlack_Weight | |
kExtraBlack_Weight | |
◆ Width
Enumerator |
---|
kUltraCondensed_Width | |
kExtraCondensed_Width | |
kCondensed_Width | |
kSemiCondensed_Width | |
kNormal_Width | |
kSemiExpanded_Width | |
kExpanded_Width | |
kExtraExpanded_Width | |
kUltraExpanded_Width | |
◆ SkFontStyle() [1/2]
constexpr SkFontStyle::SkFontStyle |
( |
int |
weight, |
|
|
int |
width, |
|
|
Slant |
slant |
|
) |
| |
|
inlineconstexpr |
◆ SkFontStyle() [2/2]
constexpr SkFontStyle::SkFontStyle |
( |
| ) |
|
|
inlineconstexpr |
◆ Bold()
◆ BoldItalic()
static constexpr SkFontStyle SkFontStyle::BoldItalic |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ Italic()
◆ Normal()
◆ operator==()
bool SkFontStyle::operator== |
( |
const SkFontStyle & |
rhs | ) |
const |
|
inline |
◆ slant()
Slant SkFontStyle::slant |
( |
| ) |
const |
|
inline |
◆ weight()
int SkFontStyle::weight |
( |
| ) |
const |
|
inline |
◆ width()
int SkFontStyle::width |
( |
| ) |
const |
|
inline |
◆ SkTypefaceProxyPrototype
friend class SkTypefaceProxyPrototype |
|
friend |
The documentation for this class was generated from the following file: