====== ELLIPSE Set_Printer Message ====== ==== 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_set_printer_message|LINESTYLE]] and [[fillstyle_set_printer_message|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\\ ^Description of Fields\\ ^Comments\\ ^Default\\ ^ |Parm1 - Location\\ |<1> X1\\ |Starting X position\\ |0\\ | | \\ |<2> Y1\\ |Starting Y position\\ |0\\ | | \\ |<3> X2\\ |Ending X position\\ |0\\ | | \\ |<4> Y2\\ |Ending Y position\\ |0\\ | | \\ |<5> Start\\ |Starting arc degree\\ |""\\ | | \\ |<6> End\\ |Ending arc degree\\ |""\\ | |Parm2 - Repeat\\ |<1> Repeat on all pages\\ |0=Current page only\\ \\ \\ Print on all pages\\ | \\ || ==== See Also ==== [[bmp_set_printer_message|BMP]], [[rect_set_printer_message|RECT]], [[line_set_printer_message|LINE]], [[using_graphics|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