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>Module: USE IFQWINSyntaxresult = GETARCINFO (pstart, pend, ppaint)pstart(Output) Derived type xycoord. Viewport coordinates of the starting point of the arc.pend(Output) Derived type xycoord. Viewport coordinates of the end point of the arc.ppaint(Output) Derived type xycoord. Viewport coordinates of the point at which the fill begins.Results:The result type is INTEGER(2). The result is nonzero if successful. The result is zero if neither theARC nor the PIE function has been successfully called since the last time CLEARSCREEN orSETWINDOWCONFIG was successfully called, or since a new viewport was selected.GETARCINFO updates the pstart and pend xycoord derived types to contain the endpoints (inviewport coordinates) of the arc drawn by the most recent call to the ARC or PIE functions. Thexycoord derived type, defined in IFQWIN.F90, is:TYPE xycoordINTEGER(2) xcoordINTEGER(2) ycoordEND TYPE xycoordThe returned value in ppaint specifies a point from which a pie can be filled. You can use this tofill a pie in a color different from the border color. After a call to GETARCINFO, change colorsusing SETCOLORRGB. Use the new color, along with the coordinates in ppaint, as arguments forthe FLOODFILLRGB function.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “ARC, ARC_W”, “FLOODFILLRGB, FLOODFILLRGB_W”, “GETCOLORRGB”,“GRSTATUS”, “PIE, PIE_W”, “SETCOLORRGB”ExampleUSE IFQWININTEGER(2) status, x1, y1, x2, y2, x3, y3, x4, y4TYPE (xycoord) xystart, xyend, xyfillptx1 = 80; y1 = 50x2 = 240; y2 = 150x3 = 120; y3 = 802-98

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

Saved successfully!

Ooh no, something went wrong!