Flutter Engine
The Flutter Engine
|
#include <SkColorTable.h>
Public Member Functions | |
const uint8_t * | alphaTable () const |
const uint8_t * | redTable () const |
const uint8_t * | greenTable () const |
const uint8_t * | blueTable () const |
void | flatten (SkWriteBuffer &buffer) const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< SkColorTable > | Make (const uint8_t table[256]) |
static sk_sp< SkColorTable > | Make (const uint8_t tableA[256], const uint8_t tableR[256], const uint8_t tableG[256], const uint8_t tableB[256]) |
static sk_sp< SkColorTable > | Deserialize (SkReadBuffer &buffer) |
Friends | |
class | SkTableColorFilter |
SkColorTable holds the lookup tables for each channel (ARGB) used to define the filter behavior of SkColorFilters::Table
, and provides a way to share the table data between client code and the returned SkColorFilter. Once created, an SkColorTable is immutable.
Definition at line 25 of file SkColorTable.h.
|
inline |
Definition at line 41 of file SkColorTable.h.
|
inline |
Definition at line 44 of file SkColorTable.h.
|
static |
Definition at line 45 of file SkColorTable.cpp.
void SkColorTable::flatten | ( | SkWriteBuffer & | buffer | ) | const |
Definition at line 41 of file SkColorTable.cpp.
|
inline |
Definition at line 43 of file SkColorTable.h.
|
inlinestatic |
Definition at line 29 of file SkColorTable.h.
|
static |
Definition at line 14 of file SkColorTable.cpp.
|
inline |
Definition at line 42 of file SkColorTable.h.
|
friend |
Definition at line 51 of file SkColorTable.h.