Intel® Fortran Compiler with Windows-Based Applications
ID
757211
Date
6/30/2025
Public
Special Naming Convention for QuickWin and Windows Graphics Routines
Compare QuickWin with Windows-Based Applications
Use Windows API Routines with QuickWin
Types of QuickWin Programs
QuickWin User Interface
USE Statement Needed for Fortran QuickWin Applications
Create QuickWin Windows
Use QuickWin Graphics Library Routines
Select Display Options
Check the Current Graphics Mode
Set the Graphics Mode
Set Figure Properties
Understand Coordinate Systems
Add Color
Write a Graphics Program
Display a Graphics Output
Store and Retrieve Images
Customize QuickWin Applications
QuickWin Programming Precautions
Simulate Nonblocking I/O
Write a Graphics Program
Like many programs, graphics programs work well when written in small units. Using discrete routines aids debugging by isolating the functional components of the program. The following example program and its associated subroutines show the steps involved in initializing, drawing, and closing a graphics program.
The SINE program draws a sine wave. Its procedures call many of the common graphics routines. The main program calls five subroutines that carry out the actual graphics commands (also located in the SINE.F90 file):
! SINE.F90 - Illustrates basic graphics commands. ! USE IFQWIN CALL graphicsmode( ) CALL drawlines( ) CALL sinewave( ) CALL drawshapes( ) END . . .
Parent topic: Use QuickWin Graphics Library Routines