freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 93c2d04: Edit comments.


From: Werner Lemberg
Subject: [freetype2-demos] master 93c2d04: Edit comments.
Date: Sat, 21 Jan 2023 10:39:01 -0500 (EST)

branch: master
commit 93c2d0461496ea3a1c4c98c6606c66ba31f9c1f6
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    Edit comments.
---
 graph/gblblit.c  | 7 ++++---
 graph/gblender.c | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/graph/gblblit.c b/graph/gblblit.c
index 5499bd8..0c5f756 100644
--- a/graph/gblblit.c
+++ b/graph/gblblit.c
@@ -9,11 +9,12 @@
 /*                                                                          */
 /****************************************************************************/
 
-/* The cached color gradients from the back- to foreground color are used
- * to quickly look up the blended color for a given pixel coverage (alpha).
+/* Color gradients between background and foreground are cached to quickly
+ * look up the blended color for a given glyph pixel coverage (alpha).
  * They are calculated with gamma correction and stored with 8-bit depth
  * per channel, in the range [0-255]. Other supported color representations
- * require scaling to utilize the cache.
+ * require scaling to utilize the cache. This file contains the color
+ * conversion and blending routines.
  */
 
 #include "grobjs.h"
diff --git a/graph/gblender.c b/graph/gblender.c
index 794cf44..a34d732 100644
--- a/graph/gblender.c
+++ b/graph/gblender.c
@@ -9,11 +9,12 @@
 /*                                                                          */
 /****************************************************************************/
 
-/* The cached color gradients from the back- to foreground color are used
- * to quickly look up the blended color for a given pixel coverage (alpha).
+/* Color gradients between background and foreground are cached to quickly
+ * look up the blended color for a given glyph pixel coverage (alpha).
  * They are calculated with gamma correction and stored with 8-bit depth
  * per channel, in the range [0-255]. Other supported color representations
- * require scaling to utilize the cache.
+ * require scaling to utilize the cache. This file contains the computation
+ * and cache management routines.
  */
 
 #include "gblender.h"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]