Intel® Fortran Compiler with Windows-Based Applications

ID 757211
Date 6/30/2025
Public

Visible to Intel only — GUID: GUID-739D13EC-B5E9-476F-9141-506F6F6DA1EE

Document Table of Contents

Draw Graphics

If you want anything other than the default line style (solid), mask (no mask), background color (black), or foreground color (white), you must call the appropriate routine before calling the drawing routine. Subsequent output routines employ the same attributes until you change them or open a new child window.

The following is a list of routines that provide information on the current graphics settings, set new graphics settings, and draw graphics:

Routine

Description

ARC, ARC_W

Draws an arc.

CLEARSCREEN

Clears the screen, viewport, or text window.

ELLIPSE, ELLIPSE_W

Draws an ellipse or circle.

FLOODFILL, FLOODFILL_W

Fills an enclosed area of the screen with the current color index using the current fill mask.

FLOODFILLRGB, FLOODFILLRGB_W

Fills an enclosed area of the screen with the current Red-Green-Blue (RGB) color using the current fill mask.

Most of these routines have multiple forms. Routine names that end with _W use the window-coordinate system and REAL(8) argument values. Routines without this suffix use the viewport-coordinate system and INTEGER(2) argument values.

Curved figures, such as arcs and ellipses, are centered within a bounding rectangle, which is specified by the upper-left and lower-right corners of the rectangle. The center of the rectangle becomes the center for the figure, and the rectangle's borders determine the size of the figure.