FramePoly
FramePoly
Draw the lines that make up a polygon PolyHandle thePoly ; handle of a polygon to draw
FramePoly draws a polygon by "playing back" all the line-drawing calls that define it, using the current pen size, pattern, and mode.
thePoly is a handle that leads to a variable-length Polygon structure. It is typically a value obtained via OpenPoly.
Notes: The line segments are drawn with the pen size, pattern and transfer mode
Since the lines are drawn below and to the right of the coordinates of each
end point, this function will affect pixels that lie outside of the polygon's
bounding rectangle, (*thePoly)->polyBBox, e.g.:
all line segments of thePoly to the open polygon (beware of over-running
the 32K maximum size limit). If a region is being formed (see OpenRgn), the interior of thePoly will be mathematically added to the region.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's bitMap boundary rectangle, the port rectangle, clipping region, and visible region.