Fill - Fill Closed Path; Related Commands - Kyocera DP-1800 Command Reference Manual

Prescribe commands command reference manual rev 4.8
Hide thumbs Also See for DP-1800:
Table of Contents

Advertisement

FILL —
FILL closed path
Format
Parameter
rule:
Function

Related Commands

FILL rule;
drawing rule:
1 = use even-odd rule
2 = use non-zero winding number rule
The FILL command fills the area enclosed by the current path with the current drawing
rule. It also fills all independent subpaths contained in a path. An open subpath is
implicitly closed before being painted (as done by a CLSP command). This command
clears the current path after filling and moves the cursor to the end of that path.
With drawing rule 1, even-odd, whether or not a point is deemed to be inside the path is
determined by drawing a ray from that point in any direction and counting the number of
times the ray crosses segments of the path. The point is deemed to be inside the path if
the result is an odd number; if the result is an even number, the point is deemed to be
outside the path.
The non-zero winding rule also draws a ray from a point in any direction to determine
whether or not that point is deemed to be inside the path and examines the points at
which a segment of the path crosses the ray. However, it then starts counting from zero
and adds one each time a segment in the path crosses the ray from left to right; and
subtract one each time a segment in the path crosses the ray from right to left. If the
result of counting all the crossings is zero, the point is deemed to be outside; otherwise
the point is deemed to be inside the path.
The way in which several filled-in parts are stacked with each other to produce
transparent and opaque effects is controlled by the SIMG (Set IMaGe model) command.
FPAT, GPAT, PAT, SIMG, XPAT
FILL
101

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dp-3600Dp-2800Fs c5015nFs c5020nFs c5030nFs-1010n ... Show all

Table of Contents