class Style2

Defined at line 521 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

Style properties that can be used when requesting or describing a type face.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_fonts::wire::Style2> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_fonts::wire::Style2> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_fonts::wire::Style2>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Style2 ()

Defined at line 523 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

void Style2 (const Style2 & other)

Defined at line 524 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

Style2 & operator= (const Style2 & other)

Defined at line 525 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

void Style2 (Style2 && other)

Defined at line 526 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

Style2 & operator= (Style2 && other)

Defined at line 527 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

::fuchsia_fonts::wire::Slant & slant ()

See `Slant`.

bool has_slant ()
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

bool has_weight ()
::fuchsia_fonts::wire::Width & width ()

See `Width`.

bool has_width ()
void ~Style2 ()

Defined at line 529 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder