Flutter Engine
The Flutter Engine
|
#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.
Definition at line 22 of file SkHighContrastFilter.h.
|
strong |
Enumerator | |
---|---|
kNoInvert | |
kInvertBrightness | |
kInvertLightness | |
kLast |
Definition at line 23 of file SkHighContrastFilter.h.
|
inline |
Definition at line 31 of file SkHighContrastFilter.h.
|
inline |
Definition at line 37 of file SkHighContrastFilter.h.
|
inline |
Definition at line 45 of file SkHighContrastFilter.h.
SkScalar SkHighContrastConfig::fContrast |
Definition at line 60 of file SkHighContrastFilter.h.
bool SkHighContrastConfig::fGrayscale |
Definition at line 53 of file SkHighContrastFilter.h.
InvertStyle SkHighContrastConfig::fInvertStyle |
Definition at line 56 of file SkHighContrastFilter.h.