class ColorTransformConfiguration

Defined at line 106 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

The current configuration for accessibility color transforms, which includes color inversion and

color correction. This always includes the matrix required to apply the appropriate transforms.

Color correction and color inversion may be active simultaneously.

For original RGB value (r, g, b) (each component ranged between 0 and 1), the RGB value of

corrected color (r', g', b') is

(r', g', b') = color_adjustment_post_offset

+ color_adjustment_matrix . ((r, g, b) + color_adjustment_pre_offset).

Public Methods

void ColorTransformConfiguration ()

Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

void ColorTransformConfiguration (const ColorTransformConfiguration & other)

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

ColorTransformConfiguration & operator= (const ColorTransformConfiguration & other)

Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

void ColorTransformConfiguration (ColorTransformConfiguration && other)

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_accessibility::wire::ColorTransformConfiguration> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_accessibility::wire::ColorTransformConfiguration> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility::wire::ColorTransformConfiguration>> frame)

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

bool & color_inversion_enabled ()

When color_inversion_enabled is true, certain colors are inverted across the entire screen.

If this field is omitted behavior should remain unchanged.

bool has_color_inversion_enabled ()
::fuchsia_accessibility::wire::ColorCorrectionMode & color_correction ()

When color_correction is set to DISABLED, colors are displayed normally. When

color_correction has different value, colors are modified to correct for the specified type

of color blindness. If this field is omitted behavior should remain unchanged.

bool has_color_correction ()
::fidl::Array<float, 9> & color_adjustment_matrix ()

3x3 Matrix in row-major form which will be used by root presenter to apply color correction

and color inversion, or a combination fo the two. This field should always be set.

bool has_color_adjustment_matrix ()
::fidl::Array<float, 3> & color_adjustment_pre_offset ()

3x1 vector which is used by root presenter as an offset added to the original RGB color,

before it multiplies with the |color_adjustment_matrix|. This field should always be set.

bool has_color_adjustment_pre_offset ()
::fidl::Array<float, 3> & color_adjustment_post_offset ()

3x1 vector which is used by root presenter as an offset added to the multiplied result

of |color_adjustment_matrix| and original RGB color. This field should always be set.

bool has_color_adjustment_post_offset ()
ColorTransformConfiguration & operator= (ColorTransformConfiguration && other)

Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

void ~ColorTransformConfiguration ()

Defined at line 114 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder