class Request

Defined at line 730 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h

Deprecated. See `FaceRequest`.

Public Methods

void Request (Storage_ storage)
void Request (::std::optional< ::std::string> family, uint32_t weight, uint32_t width, ::fuchsia_fonts::Slant slant, ::std::optional< ::std::vector< ::std::string>> language, uint32_t character, ::fuchsia_fonts::FallbackGroup fallback_group, uint32_t flags)
void Request ()

Default constructs a |Request| only if all of its members are default constructible.

Defined at line 741 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h

void Request (Request && )

Defined at line 744 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h

void Request (const Request & other)
Request & operator= (Request && )

Defined at line 745 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h

Request & operator= (const Request & other)
bool operator== (const Request & other)
bool operator!= (const Request & other)
const ::std::optional< ::std::string> & family ()

Desired font family name, e.g. "Roboto". Font family search is

case-insensitive. In case when there is no specified family or the

specified family doesn't have glyph for the requested `character` then

a font from another family may be returned. This behavior can be disabled

using `REQUEST_FLAG_NO_FALLBACK`.

::std::optional< ::std::string> & family ()

Desired font family name, e.g. "Roboto". Font family search is

case-insensitive. In case when there is no specified family or the

specified family doesn't have glyph for the requested `character` then

a font from another family may be returned. This behavior can be disabled

using `REQUEST_FLAG_NO_FALLBACK`.

Request & family (::std::optional< ::std::string> value)

Desired font family name, e.g. "Roboto". Font family search is

case-insensitive. In case when there is no specified family or the

specified family doesn't have glyph for the requested `character` then

a font from another family may be returned. This behavior can be disabled

using `REQUEST_FLAG_NO_FALLBACK`.

uint32_t weight ()

For example, 400 is normal, 700 is bold.

uint32_t & weight ()

For example, 400 is normal, 700 is bold.

Request & weight (uint32_t value)

For example, 400 is normal, 700 is bold.

uint32_t width ()

Numeric values matching OS/2

&

Windows Metrics usWidthClass table.

https://www.microsoft.com/typography/otspec/os2.htm

For example, 5 is normal.

uint32_t & width ()

Numeric values matching OS/2

&

Windows Metrics usWidthClass table.

https://www.microsoft.com/typography/otspec/os2.htm

For example, 5 is normal.

Request & width (uint32_t value)

Numeric values matching OS/2

&

Windows Metrics usWidthClass table.

https://www.microsoft.com/typography/otspec/os2.htm

For example, 5 is normal.

::fuchsia_fonts::Slant slant ()
::fuchsia_fonts::Slant & slant ()
Request & slant (::fuchsia_fonts::Slant value)

Setter for slant.

const ::std::optional< ::std::vector< ::std::string>> & language ()

BCP47 language tags in order of preference. See

https://tools.ietf.org/html/bcp47 .

::std::optional< ::std::vector< ::std::string>> & language ()

BCP47 language tags in order of preference. See

https://tools.ietf.org/html/bcp47 .

Request & language (::std::optional< ::std::vector< ::std::string>> value)

BCP47 language tags in order of preference. See

https://tools.ietf.org/html/bcp47 .

uint32_t character ()

Codepoint for the character that must be present in the returned font or 0.

Caller that specify this field are expected to extract character set from

the result and cache it in order to avoid calling the API more than

necessary.

uint32_t & character ()

Codepoint for the character that must be present in the returned font or 0.

Caller that specify this field are expected to extract character set from

the result and cache it in order to avoid calling the API more than

necessary.

Request & character (uint32_t value)

Codepoint for the character that must be present in the returned font or 0.

Caller that specify this field are expected to extract character set from

the result and cache it in order to avoid calling the API more than

necessary.

::fuchsia_fonts::FallbackGroup fallback_group ()

Fallback group preference. Caller can leave this field set to NONE. In

that case the font provider will use fallback group of the specified font

family.

::fuchsia_fonts::FallbackGroup & fallback_group ()

Fallback group preference. Caller can leave this field set to NONE. In

that case the font provider will use fallback group of the specified font

family.

Request & fallback_group (::fuchsia_fonts::FallbackGroup value)

Fallback group preference. Caller can leave this field set to NONE. In

that case the font provider will use fallback group of the specified font

family.

uint32_t flags ()
uint32_t & flags ()
Request & flags (uint32_t value)

Setter for flags.

void Request (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits