Struct GlyphGammaTable
Support for font glyph gamma correction.
struct GlyphGammaTable(int maxv)
if (maxv <= 256);
Table to correct gamma and translate to output range 0..255.
maxv
is 65 for Win32 fonts and 256 for FreeType.
Constructors
Name | Description |
---|---|
this
()
|
|
this
(gammaValue)
|
Fields
Type | Name | Description |
---|---|---|
double |
_gamma
|
|
ubyte[maxv] |
_map
|
Properties
Type | Name | Description |
---|---|---|
double |
gamma [get]
|
Methods
Name | Description |
---|---|
correct
(src)
|
Correct byte value from source range to 0..255 applying gamma |