8 #ifndef SkFontParameters_DEFINED
9 #define SkFontParameters_DEFINED
31 bool isHidden()
const {
return flags & HIDDEN; }
33 void setHidden(
bool hidden) { flags = hidden ? (flags | HIDDEN) : (flags & ~HIDDEN); }
35 static constexpr uint16_t HIDDEN = 0x0001;
uint32_t SkFourByteTag
Definition: SkTypes.h:158
Definition: SkFontParameters.h:17
constexpr Axis(SkFourByteTag tag, float min, float def, float max, bool hidden)
Definition: SkFontParameters.h:19
void setHidden(bool hidden)
Definition: SkFontParameters.h:33
bool isHidden() const
Definition: SkFontParameters.h:31
float max
Definition: SkFontParameters.h:29
float def
Definition: SkFontParameters.h:27
float min
Definition: SkFontParameters.h:25
constexpr Axis()
Definition: SkFontParameters.h:18
SkFourByteTag tag
Definition: SkFontParameters.h:23
Definition: SkFontParameters.h:15
Definition: SkFontParameters.h:14