draw-path in dc<%>
Draws the sub-paths of the given dc-path% object. The current
pen is used for drawing the path as a line, and the current brush is
used for filling the area bounded by the path.
If both the pen and brush are non-transparent, the path is filled with the brush before the outline is drawn with the pen. The filling and outline meet so that no space is left between them, but the precise overlap between the filling and outline is platform- and size-specific. Thus, the regions drawn by the brush and pen may overlap. More generally, the pen is centered over the path, rounding left and down in unsmoothed mode.
See also
set-smoothing for information on the 'aligned smoothing mode.
(-> voidsenda-dcdraw-pathpathxoffsetyoffsetfill-style)
path:dc-path%object
xoffset=0: real number
yoffset=0: real number
fill-style='odd-even: symbol in'(odd-even winding)Draw a path, adding
xoffsetandyoffsetto each point.The
fill-styleargument specifies the fill rule:'odd-evenor'winding. In'odd-evenmode, a point is considered enclosed within the path if it is enclosed by an odd number of sub-path loops. In'windingmode, a point is considered enclosed within the path if it is enclosed by more or less clockwise sub-path loops than counter-clockwise sub-path loops. In unsmoothed mode, the'windingfill rule is not supported under Mac OS X and it is not supported whenpathcontains multiple sub-paths; the'windingfill rules is always supported when smoothing is enabled (seeset-smoothing).Restrictions on the magnitude of drawing coordinates are described with
dc<%>.