Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intro(3G) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INTRO(3G)  —  

NAME

intro − introduction to display graphics subroutines

DESCRIPTION

This section describes the subroutines that are part of the interface for the IBM Academic Information Systems experimental display (herein after called “the experimental display”).  The subroutines are graphics routines for controlling the experimental display in all-points addressable mode. 

The interface described in this section provides access to a set of functions designed to support a window manager, and is composed primarily of subroutines, as distinguished from functions.  A typical subroutine uses parameters to receive input and return output.  C passes parameters by value; to call a subroutine which returns information, you must supply an address for the returning value as the parameter. 

Calls that supply an address for return in this package should usually supply the address of a short (16-bit) integer.  Calls that pass integer values can usually get by with either short or int.  See the individual routines. 

Many of the subroutines do return a value as a function would, generally for error return codes and special case handling.  It is strongly recommended that applications monitor return codes to prevent bizarre events and possibly more severe errors. 

When linking, specify -laed to pick up the experimental-display library. 

All subroutines use screen coordinates with the origin in the upper left corner of the experimental display. 

LIST OF FUNCTIONS

NameAppears on PageDescription
VI_ALineline.3gdraw a line to an absolute location
VI_AMovemove.3gmove the current point to an absolute location
VI_Circlecircle.3gdraw a circle
VI_Clipclip.3gset clipping window
VI_Colorcolor.3gchange screen color
VI_Copycopy.3gcopy an area
VI_Dashdash.3gset line dash pattern
VI_DisCurcursor.3gdisable cursor
VI_DropFontfont.3grelease font
VI_EnCurcursor.3genable cursor
VI_FDefnCurcursor.3gset cursor pattern from file
VI_FImageimage.3gdraw an image from a file
VI_Fontfont.3gselect font
VI_Forceforce.3gforce output of graphics orders
VI_Freadread.3gread experimental-display data into a file
VI_GetFontfont.3gload a font into memory
VI_Initinit.3ginitialize the subroutine interface
VI_Loginlog.3gbegin logging subroutine calls
VI_Logoutlog.3gclose a log file
VI_MDefnCurcursor.3gset cursor pattern from memory
VI_Mergemerge.3set merge mode
VI_MImageimage.3gdraw an image from memory
VI_MReadread.3gread experimental-display data into memory
VI_PosnCurcursor.3gset cursor position
VI_QClipquery.3query clipping rectangle
VI_QColorquery.3gquery current color
VI_QDashquery.3gquery dash pattern
VI_QFontquery.3gquery font
VI_QMergequery.3gquery merge mode
VI_QPointquery.3gquery current point
VI_QWidthquery.3gquery line width
VI_RLineline.3gdraw a line to a relative location
VI_RMovemove.3gmove the current point to a relative location
VI_Runrun.3gprocess a log file
VI_Stringstring.3gdraw a string
VI_Terminit.3gterminate the subroutine interface
VI_Tiletile.3gtile a rectangle
VI_Widthwidth.3gset line width

FILES

/usr/lib/aed/whim.aed
/usr/lib/aed/pcfont.fnt
/usr/lib/libaed.a
/usr/src/usr.lib/libaed/examples
/dev/aed

NOTE

These subroutines apply only to the IBM Academic Information Systems experimental display. 

SEE ALSO

“The C Subroutine Interface for the IBM Academic Information Systems Experimental Display” in Volume II, Supplementary Documents. 

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  31 Jan 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026