Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Displaying Graphic Images
◄Programming Tasks► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Statements and Functions Used for Displaying Graphic Images
Statement or
Task function Action
══════════════ ══════════════ ════════════════════════════════════════
Setting SCREEN Sets the specifications for the
screen-display graphics adapter and monitor.
characteristics
Plotting or PSET Draws a specified point on the
erasing a screen. If you do not specify the color,
single point the foreground color is selected.
PRESET Draws a specified point on the screen.
If you do not specify the color, the
background color is selected.
Drawing simple LINE Draws a straight line or a box on the
shapes on the screen.
screen
CIRCLE Draws a circle or ellipse.
DRAW Combines many of the features of other
BASIC graphics statements (drawing
lines, moving the graphics cursor,
scaling images) into an all-in-one
graphics macro language.
Defining screen VIEW Defines screen limits for graphics
coordinates output.
WINDOW Defines the dimensions of the current
graphics viewport window.
PMAP Returns the window coordinate equivalent
to the specified viewport coordinate,
or the viewport coordinate equivalent
to a specified window coordinate.
POINT Returns the current horizontal or
vertical position of the graphics
cursor, or the color of a specified
pixel.
Using color COLOR Sets the foreground and background
colors for the display.
PALETTE Changes one or more colors in the
palette.
POINT Returns the current horizontal or
vertical position of the graphics
cursor, or the color of a specified
pixel.
Painting PAINT Fills an area on the screen with a color
enclosed pattern.
shapes
Animating GET (Graphics) Stores graphic images from the screen
in a numeric array.
PUT (Graphics) Displays an image on the screen that
was previously obtained by a GET
(Graphics) statement.
PCOPY Copies one video memory page to
another.
Loading and BLOAD Loads a memory-image file created by BSAVE
saving binary into memory from an input device.
format screen
images BSAVE Transfers the content of an area of memory
to an output file or device.