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.

Descriptions of the Library Routines 2Results:The result type is INTEGER(2). The result is nonzero if successful; otherwise, 0 (for example, ifthe program that calls SETWINDOW is not in a graphics mode).The SETWINDOW function determines the coordinate system used by all window-relativegraphics routines. Any graphics routines that end in _W (such as ARC_W, RECTANGLE_W, andLINETO_W) use the coordinate system set by SETWINDOW.Any window transformation done with the SETWINDOW function is relative to the viewport, notthe entire screen.An arc drawn using inverted window coordinates is not an upside-down version of an arc drawnwith the same parameters in a noninverted window. The arc is still drawn counterclockwise, butthe points that define where the arc begins and ends are inverted.If wx1 equals wx2 or wy1 equals wy2, SETWINDOW fails.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETWINDOWCOORD”, “SETCLIPRGN”, “SETVIEWORG”, “SETVIEWPORT”,“GRSTATUS”ExampleUSE IFQWININTEGER(2) statusLOGICAL(2) invert /.TRUE./REAL(8) upx /0.0/, upy /0.0/REAL(8) downx /1000.0/, downy /1000.0/status = SETWINDOW(invert, upx, upy, downx, downy)SETWINDOWCONFIGQuickWin Function: Sets the properties of a child window. This function is only available onWindows* systems.Module: USE IFQWINSyntaxresult = SETWINDOWCONFIG (wc)wc(Input) Derived type windowconfig. Contains window properties. The windowconfigderived type is defined in IFQWIN.F90 as follows:2-431

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

Saved successfully!

Ooh no, something went wrong!