<PIE>
|
<< Click to Display Table of Contents >> Navigation: Common vpxPrint tags > Shapes > <PIE> |
(Simple PIE interface)
This tag provides simple one-dimensional pies or chart interface. is a better way to draw charts.
Syntax : "<PIE#n,START=s,END=e>"
where:
n is a frame number. This frame must exist.
s is the starting point
e is the ending point, it's the percent of circle area.
<PIE#1,START=10,END=20> draws a sector starting at 10/100 ending at 20/100 of the circle.
The starting point is located at the rightmost point of the circle. S and e are decimal values.
Notes: Sectors are drawn using the <BGCOLOR> value for background colors and <LINECOLOR> value for border color.
You must define a frame before drawing pies.
Examples :
"<PREVIEW><UNITS=mm>"
"<AT=60,60><BGCOLOR=RED><#1><at=+100,+100><Frame#1>"
"<PIE#1,START=10,END=20>"
"<BGCOLOR=YELLOW>"
"<PIE#1,START=21,END=40>"
"<BGCOLOR=LTGRAY>"
"<PIE#1,START=41,END=70>"
"<BGCOLOR=BLUE>"
"<PIE#1,START=70.5,END=98>"
"<BGCOLOR=FUCHSIA>"
"<PIE#1,START=98,END=100>".
vpxPrint is able to capture any kind of image, previously stored in the clipboard. See the function.
The demoVpx.w procedure contains an example on how to do that.