Intel® Fortran Compiler 18.0 Developer Guide and Reference

GETWRITEMODE (W*S)

Graphics Function: Returns the current logical write mode, which is used when drawing lines with the LINETO, POLYGON, and RECTANGLE functions.

Module

USE IFQWIN

result = GETWRITEMODE( )

Results

The result type is INTEGER(2). The result is the current write mode. Possible return values are:

The default value is $GPSET. These constants are defined in IFQWIN.F90.

The write mode is set with SETWRITEMODE.

Example

! Build as QuickWin or Standard Graphics App.
   USE IFQWIN
   INTEGER(2) mode
   mode = GETWRITEMODE()
   END

See Also