class FontFamilyInfo
Defined at line 1122 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
Information about a font family that can be requested using `Provider.GetFontFamilyInfo()`.
If a matching font family is not found, the table will be empty.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::fonts::FamilyName & name ()
Canonical font family name. Note that this may be different from the value passed to
`GetFontFamilyInfo()` due to the resolution of font aliases, and/or differences in
whitespace and capitalization.
Defined at line 1131 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
bool has_name ()
Defined at line 1135 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
::fuchsia::fonts::FamilyName * mutable_name ()
Canonical font family name. Note that this may be different from the value passed to
`GetFontFamilyInfo()` due to the resolution of font aliases, and/or differences in
whitespace and capitalization.
Defined at line 1142 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
void clear_name ()
Defined at line 1150 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
FontFamilyInfo & set_name (::fuchsia::fonts::FamilyName _value)
const ::std::vector< ::fuchsia::fonts::Style2> & styles ()
Unordered list of all available styles in the family.
Defined at line 1159 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
bool has_styles ()
Defined at line 1163 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
::std::vector< ::fuchsia::fonts::Style2> * mutable_styles ()
Unordered list of all available styles in the family.
Defined at line 1168 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
void clear_styles ()
Defined at line 1176 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
FontFamilyInfo & set_styles (::std::vector< ::fuchsia::fonts::Style2> _value)
void FontFamilyInfo ()
void FontFamilyInfo (FontFamilyInfo && other)
void ~FontFamilyInfo ()
FontFamilyInfo & operator= (FontFamilyInfo && other)
::std::unique_ptr<FontFamilyInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, FontFamilyInfo * _value, size_t _offset)
zx_status_t Clone (FontFamilyInfo * _result)