Description

The ELLIPSE message is used to print an ellipse at a specific location on the page using the current line and fill styles. The line and fill styles are set with the LINESTYLE and FILLSTYLE messages.

Parameters

The Start and End parameters are used to print a pie wedge. The Start and End parameters use degrees to determine the start and end of the arc for the pie wedge. The "3 o-clock" position is 0 degrees, and the degrees increase to 360 counterclockwise. The Start and End must be between 0 and 360. The Repeat parameter is used to print the ellipse on every page.

Parameter

ParameterDescription of FieldsCommentsDefault
Parm1 - Location<1> X1Starting X position0
 <2> Y1Starting Y position0
 <3> X2Ending X position0
 <4> Y2Ending Y position0
 <5> StartStarting arc degree""
 <6> EndEnding arc degree""
Parm2 - Repeat<1> Repeat on all pages

0=Current page only Print on all pages

 

See also

BMPRECTLINE, Using Graphics

Example

* The following example shows how to use the ELLIPSE message to print a two inch circle on every page.
declare function Set_Printer
$insert OIPRINT_EQUATES
stat = Set_Printer("INIT") ;* Start printing
Print the ellipse on every page
stat = Set_Printer("ELLIPSE",1:@fm:1:@fm:3:@fm:3, 1)
stat = Set_Printer("TERM") ;* End printing
  • No labels