class ColorTransformConfiguration
Defined at line 42 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/natural_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 48 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/natural_types.h
void ColorTransformConfiguration (ColorTransformConfiguration && )
Defined at line 49 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/natural_types.h
void ColorTransformConfiguration (Storage_ storage)
void ColorTransformConfiguration (const ColorTransformConfiguration & other)
ColorTransformConfiguration & operator= (const ColorTransformConfiguration & other)
bool operator== (const ColorTransformConfiguration & other)
bool operator!= (const ColorTransformConfiguration & other)
bool IsEmpty ()
const std::optional<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.
::std::optional<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.
ColorTransformConfiguration & color_inversion_enabled (std::optional<bool> value)
When color_inversion_enabled is true, certain colors are inverted across the entire screen.
If this field is omitted behavior should remain unchanged.
const std::optional< ::fuchsia_accessibility::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.
::std::optional< ::fuchsia_accessibility::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.
ColorTransformConfiguration & color_correction (std::optional< ::fuchsia_accessibility::ColorCorrectionMode> value)
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.
const std::optional< ::std::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.
::std::optional< ::std::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.
ColorTransformConfiguration & color_adjustment_matrix (std::optional< ::std::array<float, 9>> value)
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.
const std::optional< ::std::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.
::std::optional< ::std::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.
ColorTransformConfiguration & color_adjustment_pre_offset (std::optional< ::std::array<float, 3>> value)
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.
const std::optional< ::std::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.
::std::optional< ::std::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.
ColorTransformConfiguration & color_adjustment_post_offset (std::optional< ::std::array<float, 3>> value)
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.
void ColorTransformConfiguration (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
ColorTransformConfiguration & operator= (ColorTransformConfiguration && )
Defined at line 50 of file fidling/gen/sdk/fidl/fuchsia.accessibility/fuchsia.accessibility/cpp/fidl/fuchsia.accessibility/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalTableCodingTraits