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 number of colors returned depends on the video drive. The window title defaults to"Graphic1" for the default window. All of these values can be changed withSETWINDOWCONFIG.Note that the bitsperpixel field in the windowconfig derived type is an output field only, whilethe other fields return output values to GETWINDOWCONFIG and accept input values fromSETWINDOWCONFIG.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETWSIZEQQ”, “SETWINDOWCONFIG”, “SETACTIVEQQ”, "Using QuickWin"in your user’s guideExample!Build as QuickWin or Standard Graphics App.USE IFQWINLOGICAL(4) statusTYPE (windowconfig) wcstatus = GETWINDOWCONFIG(wc)IF(wc%numtextrows .LT. 10) THENwc%numtextrows = 10status = SETWINDOWCONFIG(wc)IF(.NOT. status ) THEN ! if setwindowconfig errorstatus = SETWINDOWCONFIG(wc) ! reset! setwindowconfig with corrected valuesstatus = GETWINDOWCONFIG(wc)IF(wc%numtextrows .NE. 10) THENWRITE(*,*) 'Error: Cannot increase text rows to 10'END IFEND IFEND IFENDGETWINDOWCOORDGraphics Subroutine: Converts viewport coordinates to window coordinates. This subroutine isonly available on Windows* systems.Module: USE IFQWIN2-154

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

Saved successfully!

Ooh no, something went wrong!