Flutter Engine
The Flutter Engine
|
#include <SkHighContrastFilter.h>
Static Public Member Functions | |
static sk_sp< SkColorFilter > | Make (const SkHighContrastConfig &config) |
Color filter that provides transformations to improve contrast for users with low vision.
Applies the following transformations in this order. Each of these can be configured using SkHighContrastConfig.
Calling SkHighContrastFilter::Make will return nullptr if the config is not valid, e.g. if you try to call it with a contrast outside the range of -1.0 to 1.0.
Definition at line 79 of file SkHighContrastFilter.h.
|
static |
Definition at line 23 of file SkHighContrastFilter.cpp.