12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>The border is drawn in the current color and line style.When you use ELLIPSE, the center of the ellipse is the center of the bounding rectangle definedby the viewport-coordinate points (x1, y1) and (x2, y2). When you use ELLIPSE_W, the center ofthe ellipse is the center of the bounding rectangle defined by the window-coordinate points (wx1,wy1) and (wx2, wy2). If the bounding-rectangle arguments define a point or a vertical or horizontalline, no figure is drawn.The control option given by $GFILLINTERIOR is equivalent to a subsequent call to theFLOODFILLRGB function using the center of the ellipse as the start point and the current color(set by SETCOLORRGB) as the boundary color.NOTE. The ELLIPSE routine described here is a QuickWin routine. If youare trying to use the Microsoft* Platform SDK version of the Ellipse routine byincluding the IFWIN module, you need to specify the routine name asMSFWIN$Ellipse. For more information, see "Special Naming Convention forCertain QuickWin and Win32 Graphics Routines" in your user’s guide.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “FLOODFILLRGB, FLOODFILLRGB_W”, “GRSTATUS”, “SETCOLORRGB”,“SETFILLMASK”ExampleThis program draws the shape shown below.! compile as QuickWin or Standard Graphics applicationUSE IFQWININTEGER(2) dummy, x1, y1, x2, y2x1 = 80; y1 = 50x2 = 240; y2 = 150dummy = ELLIPSE( $GFILLINTERIOR, x1, y1, x2, y2 )END2-74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!