Flutter Engine
The Flutter Engine
|
#include <SkColorMatrix.h>
Public Member Functions | |
constexpr | SkColorMatrix () |
constexpr | SkColorMatrix (float m00, float m01, float m02, float m03, float m04, float m10, float m11, float m12, float m13, float m14, float m20, float m21, float m22, float m23, float m24, float m30, float m31, float m32, float m33, float m34) |
void | setIdentity () |
void | setScale (float rScale, float gScale, float bScale, float aScale=1.0f) |
void | postTranslate (float dr, float dg, float db, float da) |
void | setConcat (const SkColorMatrix &a, const SkColorMatrix &b) |
void | preConcat (const SkColorMatrix &mat) |
void | postConcat (const SkColorMatrix &mat) |
void | setSaturation (float sat) |
void | setRowMajor (const float src[20]) |
void | getRowMajor (float dst[20]) const |
Static Public Member Functions | |
static SkColorMatrix | RGBtoYUV (SkYUVColorSpace) |
static SkColorMatrix | YUVtoRGB (SkYUVColorSpace) |
Friends | |
class | SkColorFilters |
Definition at line 18 of file SkColorMatrix.h.
|
inlineconstexpr |
Definition at line 20 of file SkColorMatrix.h.
|
inlineconstexpr |
Definition at line 25 of file SkColorMatrix.h.
|
inline |
Definition at line 49 of file SkColorMatrix.h.
|
inline |
Definition at line 44 of file SkColorMatrix.h.
void SkColorMatrix::postTranslate | ( | float | dr, |
float | dg, | ||
float | db, | ||
float | da | ||
) |
Definition at line 80 of file SkColorMatrix.cpp.
|
inline |
Definition at line 43 of file SkColorMatrix.h.
|
static |
Definition at line 13 of file SkColorMatrix.cpp.
void SkColorMatrix::setConcat | ( | const SkColorMatrix & | a, |
const SkColorMatrix & | b | ||
) |
Definition at line 89 of file SkColorMatrix.cpp.
void SkColorMatrix::setIdentity | ( | ) |
Definition at line 67 of file SkColorMatrix.cpp.
|
inline |
Definition at line 48 of file SkColorMatrix.h.
void SkColorMatrix::setSaturation | ( | float | sat | ) |
Definition at line 105 of file SkColorMatrix.cpp.
void SkColorMatrix::setScale | ( | float | rScale, |
float | gScale, | ||
float | bScale, | ||
float | aScale = 1.0f |
||
) |
|
static |
Definition at line 19 of file SkColorMatrix.cpp.
|
friend |
Definition at line 54 of file SkColorMatrix.h.