8 #ifndef SkHighContrastFilter_DEFINED
9 #define SkHighContrastFilter_DEFINED
float SkScalar
Definition: SkScalar.h:14
ColorFilters are optional objects in the drawing pipeline.
Definition: SkColorFilter.h:35
Configuration struct for SkHighContrastFilter.
Definition: SkHighContrastFilter.h:22
SkScalar fContrast
Definition: SkHighContrastFilter.h:60
SkHighContrastConfig()
Definition: SkHighContrastFilter.h:31
bool fGrayscale
Definition: SkHighContrastFilter.h:53
bool isValid() const
Definition: SkHighContrastFilter.h:45
InvertStyle fInvertStyle
Definition: SkHighContrastFilter.h:56
InvertStyle
Definition: SkHighContrastFilter.h:23
SkHighContrastConfig(bool grayscale, InvertStyle invertStyle, SkScalar contrast)
Definition: SkHighContrastFilter.h:37
Color filter that provides transformations to improve contrast for users with low vision.
Definition: SkHighContrastFilter.h:79
static sk_sp< SkColorFilter > Make(const SkHighContrastConfig &config)