class Style2
Defined at line 1144 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
Style properties that can be used when requesting or describing a type face.
Public Methods
void Style2 (Storage_ storage)
void Style2 ()
Defined at line 1150 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
void Style2 (Style2 && )
Defined at line 1151 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
void Style2 (const Style2 & other)
Style2 & operator= (Style2 && )
Defined at line 1152 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
Style2 & operator= (const Style2 & other)
bool operator== (const Style2 & other)
bool operator!= (const Style2 & other)
bool IsEmpty ()
const std::optional< ::fuchsia_fonts::Slant> & slant ()
See `Slant`.
::std::optional< ::fuchsia_fonts::Slant> & slant ()
See `Slant`.
Style2 & slant (std::optional< ::fuchsia_fonts::Slant> value)
See `Slant`.
const std::optional<uint16_t> & weight ()
Weight or thickness of the glyphs. Allowed values are integers in the range [1, 1000], but
most real-world font families only support some integer multiples of 100:
{100, 200, ..., 900}. Normal text (`WEIGHT_NORMAL`) is 400; `WEIGHT_BOLD` is 700.
See:
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping
https://docs.microsoft.com/en-us/typography/opentype/spec/os2#usweightclass
::std::optional<uint16_t> & weight ()
Weight or thickness of the glyphs. Allowed values are integers in the range [1, 1000], but
most real-world font families only support some integer multiples of 100:
{100, 200, ..., 900}. Normal text (`WEIGHT_NORMAL`) is 400; `WEIGHT_BOLD` is 700.
See:
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping
https://docs.microsoft.com/en-us/typography/opentype/spec/os2#usweightclass
Style2 & weight (std::optional<uint16_t> value)
Weight or thickness of the glyphs. Allowed values are integers in the range [1, 1000], but
most real-world font families only support some integer multiples of 100:
{100, 200, ..., 900}. Normal text (`WEIGHT_NORMAL`) is 400; `WEIGHT_BOLD` is 700.
See:
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping
https://docs.microsoft.com/en-us/typography/opentype/spec/os2#usweightclass
const std::optional< ::fuchsia_fonts::Width> & width ()
See `Width`.
::std::optional< ::fuchsia_fonts::Width> & width ()
See `Width`.
Style2 & width (std::optional< ::fuchsia_fonts::Width> value)
See `Width`.
void Style2 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits