#include <DistanceFieldAdjustTable.h>
Definition at line 18 of file DistanceFieldAdjustTable.h.
◆ ~DistanceFieldAdjustTable()
sktext::gpu::DistanceFieldAdjustTable::~DistanceFieldAdjustTable |
( |
| ) |
|
|
inline |
◆ Get()
◆ getAdjustment()
SkScalar sktext::gpu::DistanceFieldAdjustTable::getAdjustment |
( |
int |
lum, |
|
|
bool |
useGammaCorrectTable |
|
) |
| const |
|
inline |
Definition at line 27 of file DistanceFieldAdjustTable.h.
27 {
28 lum >>= kDistanceAdjustLumShift;
29 return useGammaCorrectTable ? fGammaCorrectTable[
lum] : fTable[
lum];
30 }
static float lum(float r, float g, float b)
◆ SkNoDestructor< DistanceFieldAdjustTable >
The documentation for this class was generated from the following files: