Draw Contour Set
Purpose
The Draw Contour Set function draws a set of complex polygonal shaded regions.
Syntax
Opcode format  Opcode
[ASCII] (Hex) 
Operand Format  Comments 
Extended ASCII  (ContourSet  <ws><I_{CScount}>[<ws><I_{Pcounti}>]^{+}<ws><I_{xl}>,<I_{yl}>[<ws><I_{xj}>,<I_{yj}>]^{+}  Absolute coordinates. 
Singlebyte, binary operand  [k] (71)  <B_{CScount}>[<US_{CSEcount}>][<B_{Pcounti}>[US_{PEcounti}>]]^{+}<L_{x1}><L_{y1}>[<L_{xj}><L_{yj}>]^{+}

Relative coordinates. 
[Ctrlk] (11)  <B_{CScount}>[<US_{CSEcount}>][<B_{Pcounti}>[US_{PEcounti}>]]^{+}<S_{x1}><S_{y1}>[<S_{xj}><S_{yj}>]^{+}  Relative coordinates. 
CScount This is the number of contours in the contour set and it must be greater than zero. However, in the binary operand form, a value of zero for CScount indicates that an extended count (CSEcount) will follow (as an unsigned short).
CSEcount When CScount is zero, a 2byte extended count follows allowing for values from 256 through 65,791 which are encoded as an integer (0 to 65,535).
Pcount_{i} The number of points in the i^{th} contour. Must be 2 or greater. In the binary operand form, a value of zero for Pcount indicates that an extended count (PEcount) will follow
PEcount When Pcount is zero, a 2byte extended count follows allowing for values from 256 through 65,791 which are encoded as an integer (0 to 65,535).
X_{1},Y_{1} The first point (in logical coordinates) in the first contour.
X_{j},Y_{j} The j^{th} point (in logical coordinates) in the n^{th} contour.
Notes
Figure 1 shows a contour set example, representing the letter "A", that could be used for transmitting text in an outline font format. In the figure, CScount=2, Pcount_{1}=8 and Pcount_{2}=3.
Figure 1. Contour set
Implementation in WHIP! Versions
Toolkit Function 
TBD 
Partial 
Full 
Revised in 
Draw Contour Set 
 
 
2.0 
 
See Also