#include <color_filter.h>
Definition at line 17 of file color_filter.h.
◆ ~ColorFilter()
flutter::ColorFilter::~ColorFilter |
( |
| ) |
|
|
overridedefault |
◆ Create()
void flutter::ColorFilter::Create |
( |
Dart_Handle |
wrapper | ) |
|
|
static |
Definition at line 19 of file color_filter.cc.
19 {
21 auto res = fml::MakeRefCounted<ColorFilter>();
22 res->AssociateWithDartWrapper(wrapper);
23}
static void ThrowIfUIOperationsProhibited()
◆ filter()
const std::shared_ptr< const DlColorFilter > flutter::ColorFilter::filter |
( |
| ) |
const |
|
inline |
◆ initLinearToSrgbGamma()
void flutter::ColorFilter::initLinearToSrgbGamma |
( |
| ) |
|
Definition at line 45 of file color_filter.cc.
45 {
47}
static const std::shared_ptr< DlLinearToSrgbGammaColorFilter > kInstance
◆ initMatrix()
void flutter::ColorFilter::initMatrix |
( |
const tonic::Float32List & |
color_matrix | ) |
|
Definition at line 30 of file color_filter.cc.
30 {
31 FML_CHECK(color_matrix.num_elements() == 20);
32
33
34
35
37 memcpy(matrix, color_matrix.data(), sizeof(matrix));
43}
static std::shared_ptr< DlColorFilter > Make(const float matrix[20])
#define FML_CHECK(condition)
unsigned useCenter Optional< SkMatrix > matrix
◆ initMode()
void flutter::ColorFilter::initMode |
( |
int |
color, |
|
|
int |
blend_mode |
|
) |
| |
Definition at line 25 of file color_filter.cc.
25 {
28}
static std::shared_ptr< DlColorFilter > Make(DlColor color, DlBlendMode mode)
◆ initSrgbToLinearGamma()
void flutter::ColorFilter::initSrgbToLinearGamma |
( |
| ) |
|
Definition at line 49 of file color_filter.cc.
49 {
51}
static const std::shared_ptr< DlSrgbToLinearGammaColorFilter > kInstance
The documentation for this class was generated from the following files: