Flutter Engine
The Flutter Engine
|
#include <SkFontStyle.h>
Public Types | |
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 } |
Public Member Functions | |
constexpr | SkFontStyle (int weight, int width, Slant slant) |
constexpr | SkFontStyle () |
bool | operator== (const SkFontStyle &rhs) const |
int | weight () const |
int | width () const |
Slant | slant () const |
Static Public Member Functions | |
static constexpr SkFontStyle | Normal () |
static constexpr SkFontStyle | Bold () |
static constexpr SkFontStyle | Italic () |
static constexpr SkFontStyle | BoldItalic () |
Friends | |
class | SkTypefaceProxyPrototype |
Definition at line 16 of file SkFontStyle.h.
enum SkFontStyle::Slant |
Enumerator | |
---|---|
kUpright_Slant | |
kItalic_Slant | |
kOblique_Slant |
Definition at line 44 of file SkFontStyle.h.
enum SkFontStyle::Weight |
Enumerator | |
---|---|
kInvisible_Weight | |
kThin_Weight | |
kExtraLight_Weight | |
kLight_Weight | |
kNormal_Weight | |
kMedium_Weight | |
kSemiBold_Weight | |
kBold_Weight | |
kExtraBold_Weight | |
kBlack_Weight | |
kExtraBlack_Weight |
Definition at line 18 of file SkFontStyle.h.
enum SkFontStyle::Width |
Enumerator | |
---|---|
kUltraCondensed_Width | |
kExtraCondensed_Width | |
kCondensed_Width | |
kSemiCondensed_Width | |
kNormal_Width | |
kSemiExpanded_Width | |
kExpanded_Width | |
kExtraExpanded_Width | |
kUltraExpanded_Width |
Definition at line 32 of file SkFontStyle.h.
Definition at line 50 of file SkFontStyle.h.
|
inlineconstexpr |
Definition at line 56 of file SkFontStyle.h.
|
inlinestaticconstexpr |
Definition at line 69 of file SkFontStyle.h.
|
inlinestaticconstexpr |
Definition at line 75 of file SkFontStyle.h.
|
inlinestaticconstexpr |
Definition at line 72 of file SkFontStyle.h.
|
inlinestaticconstexpr |
Definition at line 66 of file SkFontStyle.h.
|
inline |
Definition at line 58 of file SkFontStyle.h.
|
inline |
Definition at line 64 of file SkFontStyle.h.
|
inline |
Definition at line 62 of file SkFontStyle.h.
|
inline |
Definition at line 63 of file SkFontStyle.h.
|
friend |
Definition at line 80 of file SkFontStyle.h.