![]() |
Skia
2D Graphics Library
|
Configuration struct for SkHighContrastFilter. More...
#include <SkHighContrastFilter.h>
Public Types | |
| enum class | InvertStyle { kNoInvert , kInvertBrightness , kInvertLightness , kLast = kInvertLightness } |
Public Member Functions | |
| SkHighContrastConfig () | |
| SkHighContrastConfig (bool grayscale, InvertStyle invertStyle, SkScalar contrast) | |
| bool | isValid () const |
Public Attributes | |
| bool | fGrayscale |
| InvertStyle | fInvertStyle |
| SkScalar | fContrast |
Configuration struct for SkHighContrastFilter.
Provides transformations to improve contrast for users with low vision.
|
strong |
|
inline |
|
inline |
|
inline |
| SkScalar SkHighContrastConfig::fContrast |
| bool SkHighContrastConfig::fGrayscale |
| InvertStyle SkHighContrastConfig::fInvertStyle |