| Mnemonics |
|
| GUI Display/Printer | ||
| Format | 'PIE'(x,y,radius,aspect,angle_1,angle_2) Where: |
|
| angle_1 | Starting angle, in degrees. Numeric expression. | |
| angle_2 | Ending angle, in degrees. Numeric expression. | |
| aspect | Aspect ratio / viewpoint. (Ratio=1 results in no tilt.) Numeric expression. | |
| radius | Radius of the pie, in graphical units. Numeric expression. | |
| x,y | Coordinates for the centre of the pie, in graphical units. Numeric expression. | |
| Description | Use 'PIE' to draw (print) a pie slice on the device (e.g., terminal). Use graphical units or @X(col) and @Y(line) functions for x, y, and radius. The pie slice extends from the starting angle1 to angle2. The 'PIE' mnemonic uses current attributes for the 'FILL' Mnemonic, and the 'PEN' Mnemonic. | |
| Example | The following example displays a pie cut into two uneven slices: 0030 PRINT 'PEN'(1,3,8),'FILL'(2,6) 0040 PRINT 'PIE'(224,450,100,1,45,1) 0050 PRINT 'PEN'(1,3,6),'FILL'(4,15) 0060 PRINT 'PIE'(260,440,100,1,1,45) |
|