Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
93c2d046
by Alexei Podtelezhnikov at 2023-01-21T15:38:51+00:00
2 changed files:
Changes:
... | ... | @@ -9,11 +9,12 @@ |
9 | 9 | /* */
|
10 | 10 | /****************************************************************************/
|
11 | 11 | |
12 | -/* The cached color gradients from the back- to foreground color are used
|
|
13 | - * to quickly look up the blended color for a given pixel coverage (alpha).
|
|
12 | +/* Color gradients between background and foreground are cached to quickly
|
|
13 | + * look up the blended color for a given glyph pixel coverage (alpha).
|
|
14 | 14 | * They are calculated with gamma correction and stored with 8-bit depth
|
15 | 15 | * per channel, in the range [0-255]. Other supported color representations
|
16 | - * require scaling to utilize the cache.
|
|
16 | + * require scaling to utilize the cache. This file contains the color
|
|
17 | + * conversion and blending routines.
|
|
17 | 18 | */
|
18 | 19 | |
19 | 20 | #include "grobjs.h"
|
... | ... | @@ -9,11 +9,12 @@ |
9 | 9 | /* */
|
10 | 10 | /****************************************************************************/
|
11 | 11 | |
12 | -/* The cached color gradients from the back- to foreground color are used
|
|
13 | - * to quickly look up the blended color for a given pixel coverage (alpha).
|
|
12 | +/* Color gradients between background and foreground are cached to quickly
|
|
13 | + * look up the blended color for a given glyph pixel coverage (alpha).
|
|
14 | 14 | * They are calculated with gamma correction and stored with 8-bit depth
|
15 | 15 | * per channel, in the range [0-255]. Other supported color representations
|
16 | - * require scaling to utilize the cache.
|
|
16 | + * require scaling to utilize the cache. This file contains the computation
|
|
17 | + * and cache management routines.
|
|
17 | 18 | */
|
18 | 19 | |
19 | 20 | #include "gblender.h"
|