6.0

Table Of Contents
125
pie(1.5,1.5,1,290,420) %Create shadow for second slice
fill() %Display shadows
translate(-0.3, 0.3) %Offset chart from its shadow
setstrokecolor([0,0,100,0]) %Set pen colour to yellow
setfillcolor([0,100,100,0]) %Set fill colour to red
pie(1.5,1.5,1,60,290) %Create first slice
strokeandfill() %Draw first slice
translate(0.2,0.2) %Separate slices
setfillcolor([100,100,0,0]) %Set fill colour to blue
pie(1.5,1.5,1,290,420) %Create second slice
strokeandfill() %Draw second slice
PixelHeight (function)
Returns the height, in pixels, of the specified image.
Syntax
pixelheight( image ) integer
Argument
image — String value specifying the path of the file containing the image.
PixelWidth (function)
Returns the width, in pixels, of the specified image.
Syntax
pixelwidth( image ) integer
Argument
image — String value specifying the path of the file containing the image.
Pos (function)
Returns the starting position of a specified string within another string, or 0 if the specified string cannot
be found.