freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master 6dc2ecb75 1/2: * src/raster/ftraster.c: Comments.


From: Werner Lemberg
Subject: [freetype2] master 6dc2ecb75 1/2: * src/raster/ftraster.c: Comments.
Date: Tue, 14 Nov 2023 23:42:07 -0500 (EST)

branch: master
commit 6dc2ecb75729659c7dd8a92e21995db6622757fe
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/raster/ftraster.c: Comments.
---
 src/raster/ftraster.c | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 5adae0bee..26e85d767 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -625,10 +625,6 @@
    *   aState ::
    *     The state/orientation of the new profile.
    *
-   *   overshoot ::
-   *     Whether the profile's unrounded start position
-   *     differs by at least a half pixel.
-   *
    * @Return:
    *  SUCCESS on success.  FAILURE in case of overflow or of incoherent
    *  profile.
@@ -706,11 +702,6 @@
    * @Description:
    *   Finalize the current profile and record y-turns.
    *
-   * @Input:
-   *   overshoot ::
-   *     Whether the profile's unrounded end position differs
-   *     by at least a half pixel.
-   *
    * @Return:
    *   SUCCESS on success.  FAILURE in case of overflow or incoherency.
    */
@@ -1588,6 +1579,11 @@
    *
    * @Return:
    *   SUCCESS on success, FAILURE on error.
+   *
+   * @Note:
+   *   Unlike FT_Outline_Decompose(), this function handles the scanmode
+   *   dropout tags in the individual contours.  Therefore, it cannot be
+   *   replaced.
    */
   static Bool
   Decompose_Curve( RAS_ARGS Int  first,



reply via email to

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