diff options
Diffstat (limited to 'gs/base/gxfdrop.h')
-rw-r--r-- | gs/base/gxfdrop.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gs/base/gxfdrop.h b/gs/base/gxfdrop.h index 8e22089a1..39a7c35da 100644 --- a/gs/base/gxfdrop.h +++ b/gs/base/gxfdrop.h @@ -1,6 +1,6 @@ /* Copyright (C) 2001-2006 Artifex Software, Inc. All Rights Reserved. - + This software is provided AS-IS with no warranty, either express or implied. @@ -17,8 +17,7 @@ #ifndef gxfdrop_INCLUDED # define gxfdrop_INCLUDED - -/* The structure margin_set and related structures and functions are used for +/* The structure margin_set and related structures and functions are used for preventing dropouts rasterizing a character with zero fill adjustment. The purpose is to paint something along thin quazi-horizontal stems, which are composed of multiple small segments (such as a result of flattenpath). @@ -37,9 +36,9 @@ to be painted), and array of "sections" (i-th section corresponds to half-integer X-coordinate Xi = bbox_left + i + 0.5, and stores fraction part of y-coordinate of intersection of the line x == Xi with margin - boudaries, being visible through window (only extremal coordinates are stored + boudaries, being visible through window (only extremal coordinates are stored into a section)). - + The structure margin_set snaps what has been painted inside window. We handle 2 instances of margin_set : margin_set0 is being prepared and margin_set1 is being refinished. When the filling loop steps down over a pixel center, @@ -94,7 +93,7 @@ typedef struct section_s } section; typedef struct margin_set_s -{ fixed y; +{ fixed y; margin *margin_list, *margin_touched; section *sect; } margin_set; |