Flutter Engine
The Flutter Engine
|
#include <SkTableMaskFilter.h>
Public Member Functions | |
SkTableMaskFilter ()=delete | |
Static Public Member Functions | |
static void | MakeGammaTable (uint8_t table[256], SkScalar gamma) |
static void | MakeClipTable (uint8_t table[256], uint8_t min, uint8_t max) |
static SkMaskFilter * | Create (const uint8_t table[256]) |
static SkMaskFilter * | CreateGamma (SkScalar gamma) |
static SkMaskFilter * | CreateClip (uint8_t min, uint8_t max) |
Applies a table lookup on each of the alpha values in the mask. Helper methods create some common tables (e.g. gamma, clipping)
Definition at line 25 of file SkTableMaskFilter.h.
|
delete |
|
static |
Definition at line 127 of file SkTableMaskFilter.cpp.
|
static |
Definition at line 137 of file SkTableMaskFilter.cpp.
|
static |
Definition at line 131 of file SkTableMaskFilter.cpp.
|
static |
Utility that creates a clipping table: clamps values below min to 0 and above max to 255, and rescales the remaining into 0..255
Definition at line 155 of file SkTableMaskFilter.cpp.
|
static |
Utility that sets the gamma table
Definition at line 143 of file SkTableMaskFilter.cpp.