XES COMMAND LANGUAGE MODE

%1

The percent of the pie to be taken up by the first

 

pie slice. The total of all percentages must add up

 

to 100.

/A slash separates this percentage from the fill pattern number and offset value. Both the fill pattern and offset value are optional.

F1

The

number of

the

fill

pattern selection (refer to

 

Graphic Fill).

 

 

 

O1

The

offset

value, if

the

slice is to be offset from

 

the

centre;

the

distance

from the centre point of

 

the pie to the narrowest point in the pie slice.

%n/Fn/On Parameters for all remaining pie slices: percentage, fill pattern, and offset value, respectively.

LLine end.

More As with the graphic arc, the pie is drawn in a counterclockwise direction.

Remember that the slices are defined in percentages, not angles.

Percentages must total 100%.

If the sum of the pie slice is less than 100%, the pie is not closed. If the sum of the pie is greater than 100%, all slices above 100%, whether whole or partial, are ignored, and the pie is not closed. An error message appears on the Summary Sheet.

Note It is not recommended to use zero as a percentage.

Example To create the pie chart in figure 2-34:

·Drawn with a line five pixels thick

·At coordinates 450,450 in the graphic window

·With a radius of 285 pixels

·Consisting of five slices:

ÐSlice 1 is 20% and is filled with pattern 10; it is offset by 10 pixels.

ÐSlice 2 is 30% and is filled with pattern 13; it is offset by 10 pixels.

ÐSlice 3 is 10% and is filled with pattern 2; it is offset by 50 pixels.

2-104

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

Page 142
Image 142
Xerox 4213 manual Percent of the pie to be taken up by the first