PIE

Draws a filled circle or section of a filled circle
Operating state: SGOP

Syntax

return-code-variable=GDRAW('PIE', x, y, radius, start, end);

Required Arguments

x
numeric constant or numeric variable name; x coordinates are in units based on the current window system.
y
numeric constant or numeric variable name; y coordinates are in units based on the current window system.
radius
numeric constant or numeric variable name; the pie radius size in units based on the current window system.
start
numeric constant or numeric variable name; the starting angle of the pie, with 0 degrees at 3 o'clock on the unit circle.
end
numeric constant or numeric variable name; the ending angle of the pie, with 0 degrees at 3 o'clock on the unit circle.

Return Codes

This function returns:
0, 4, 76, 79, 80, or 86. See Return Codes for DSGI Routines and Functions.

Details

The GDRAW('PIE', . . . ) function draws a filled section of a circular arc. The fill attributes and bundles affect the appearance of this primitive. See DATA Step Graphics Interface Routines for a list of these attributes.