Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkHighContrastConfig Struct Reference

Configuration struct for SkHighContrastFilter. More...

#include <SkHighContrastFilter.h>

Public Types

enum  InvertStyle { kNoInvert, kInvertBrightness, kInvertLightness }
 

Public Member Functions

 SkHighContrastConfig (bool grayscale, InvertStyle invertStyle, SkScalar contrast)
 
bool isValid () const
 

Public Attributes

bool fGrayscale
 
InvertStyle fInvertStyle
 
SkScalar fContrast
 

Detailed Description

Configuration struct for SkHighContrastFilter.

Provides transformations to improve contrast for users with low vision.


The documentation for this struct was generated from the following file: