Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Use Fortran Standard Graphics Application Projects

A Fortran standard graphics application (.EXE) is an Intel® Fortran QuickWin program with graphics that runs in a single QuickWin window. A standard graphics (QuickWin single window, sometimes called single document) application looks similar to an MS-DOS* program when manipulating the graphics hardware directly, without Windows*.

A Fortran standard graphics application allows graphics output (such as drawing lines and basic shapes) and other screen functions, such as clearing the screen. Standard Graphics is a subset of QuickWin. You can use all of the QuickWin graphics functions in these projects. You can use dialog boxes with all other project types.

You can select displayed text either as a bitmap or as text. Windows provides APIs for loading and unloading bitmap files. Standard graphics applications should be written as multithreaded applications.

Fortran standard graphics (QuickWin single window) applications are normally presented in full-screen mode. The single window can be either full-screen or have window borders and controls available. You can change between these two modes by using ALT and ENTER.

If the resolution selected matches the screen size, the application covers the entire screen; otherwise, scroll bars are present to resize the window. You cannot open additional windows in a standard graphics application. Standard graphics applications have neither a menu bar at the top of the window, nor a status bar at the bottom.

Fortran standard graphics applications are appropriate for problems that:

  • Require numerical processing and some graphics.

  • Do not require a sophisticated user interface.

Create a Standard Graphics Application with the Microsoft Visual Studio* IDE

  1. Select the QuickWin Application project type.

  2. Select the Standard Graphics Application template.

When you select the Fortran standard graphics project type, the IDE includes the QuickWin library automatically, which lets you use the graphics functions. When building from the command line, you must specify the libs option with keyword qwins. You cannot use the runtime functions meant for multiple-window projects if you are building a standard graphics project. You cannot make a standard graphics application a DLL.