Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference

h.eng.cam.ac.uk
from h.eng.cam.ac.uk More from this publisher
12.07.2015 Views

2 Intel Fortran Libraries Referencewt(Output) Derived type wxycoord. Window coordinates. The derived type wxycoord is definedin IFQWIN.F90 as follows:TYPE wxycoordREAL(8) wx ! x-coordinateREAL(8) wy ! y-coordinateEND TYPE wxycoordViewport coordinates refer to an area of the screen defined as the viewport with SETVIEWPORT.Physical coordinates refer to the whole screen. Both take integer coordinate values. Windowcoordinates refer to a window sized with SETWINDOW or SETWSIZEQQ. Window coordinatesare floating-point values and allow easy scaling of data to the window area. For a more completediscussion of coordinate systems, see "Understanding Coordinate Systems" in your user’s guide.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETPHYSCOORD”, “GETWINDOWCOORD”ExampleSee the example program in “GETPHYSCOORD”.GETWINDOWCONFIGQuickWin Function: Returns the properties of the current window. This function is onlyavailable on Windows* systems.Module: USE IFQWINSyntaxresult = GETWINDOWCONFIG (wc)wc(Output) Derived type windowconfig. Contains window properties. The windowconfigderived type is defined in IFQWIN.F90 as follows:TYPE windowconfigINTEGER(2) numxpixelsINTEGER(2) numypixelsINTEGER(2) numtextcolsINTEGER(2) numtextrowsINTEGER(2) numcolors! Number of pixels on x-axis! Number of pixels on y-axis! Number of text columns available! Number of text rows available! Number of color indexes2-152

Descriptions of the Library Routines 2INTEGER(4) fontsize! Size of default font. Set to! QWIN$EXTENDFONT when specifying! extended attributes, in which! case extendfontsize sets the! font sizeCHARACTER(80) title! The window titleINTEGER(2) bitsperpixel! The number of bits per pixelINTEGER(2) numvideopages! UnusedINTEGER(2) mode! Controls scrolling modeINTEGER(2) adapter! UnusedINTEGER(2) monitor! UnusedINTEGER(2) memory! UnusedINTEGER(2) environment! Unused!! The next three parameters provide extended font attributes.!CHARACTER(32) extendfontname ! The name of the desired fontINTEGER(4) extendfontsize! Takes the same values as fontsize,! when fontsize is set to! QWIN$EXTENDFONTINTEGER(4) extendfontattributes ! Font attributes such as bold! and italicEND TYPE windowconfigResults:The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE. (forexample, if there is no active child window).GETWINDOWCONFIG returns information about the active child window. If you have not setthe window properties with SETWINDOWCONFIG, GETWINDOWCONFIG returns defaultwindow values.A typical set of values would be 1024 x pixels, 768 y pixels, 128 text columns, 48 text rows, and afont size of 8x16 pixels. The resolution of the display and the assumed font size of 8x16 pixelsgenerates the number of text rows and text columns.The resolution (in this case, 1024 x pixels by 768 y pixels) is the size of the virtual window. To getthe size of the physical window visible on the screen, use GETWSIZEQQ. In this case,GETWSIZEQQ returned the following values: (0,0) for the x and y position of the physicalwindow, 25 for the height or number of rows, and 71 for the width or number of columns.2-153

Descriptions of the Library Routines 2INTEGER(4) fontsize! Size of default font. Set to! QWIN$EXTENDFONT when specifying! extended attributes, in which! case extendfontsize sets the! font sizeCHARACTER(80) title! The window titleINTEGER(2) bitsperpixel! The number of bits per pixelINTEGER(2) numvideopages! UnusedINTEGER(2) mode! Controls scrolling modeINTEGER(2) adapter! UnusedINTEGER(2) monitor! UnusedINTEGER(2) memory! UnusedINTEGER(2) environment! Unused!! The next three parameters provide extended font attributes.!CHARACTER(32) extendfontname ! The name of the desired fontINTEGER(4) extendfontsize! Takes the same values as fontsize,! when fontsize is set to! QWIN$EXTENDFONTINTEGER(4) extendfontattributes ! Font attributes such as bold! and italicEND TYPE windowconfigResults:The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE. (forexample, if there is no active child window).GETWINDOWCONFIG returns information about the active child window. If you have not setthe window properties with SETWINDOWCONFIG, GETWINDOWCONFIG returns defaultwindow values.A typical set of values would be 1024 x pixels, 768 y pixels, 128 text columns, 48 text rows, and afont size of 8x16 pixels. The resolution of the display and the assumed font size of 8x16 pixelsgenerates the number of text rows and text columns.The resolution (in this case, 1024 x pixels by 768 y pixels) is the size of the virtual window. To getthe size of the physical window visible on the screen, use GETWSIZEQQ. In this case,GETWSIZEQQ returned the following values: (0,0) for the x and y position of the physicalwindow, 25 for the height or number of rows, and 71 for the width or number of columns.2-153

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

Saved successfully!

Ooh no, something went wrong!