7.6

Table Of Contents
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.
Syntax
pos( string1, string2 ) integer value
Arguments
string1
String value to search for.
©2010 Objectif Lune Inc - 312 -