Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gm — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/GM                                             1985/04/30


Include files:

     C:          /sys/ins/gm.ins.c
     Fortran:    /sys/ins/gm.ins.ftn
     Pascal:     /sys/ins/gm.ins.pas


Procedures and Functions:

    GM_$ABLOCK_ASSIGN_DISPLAY (aclass_id, ablock_id, status)
        Assigns an attribute block (by number) to an attribute class,
        for the entire display.

    GM_$ABLOCK_ASSIGN_VIEWPORT (aclass_id, viewport_id, ablock_id, status)
        Assigns an attribute block (by number) to an attribute class, for
        one viewport.

    GM_$ABLOCK_COPY (source_ablock_id, destination_ablock_id, status)
        Copies all attributes from one existing attribute block to another.

    GM_$ABLOCK_CREATE (source_ablock_id, ablock_id, status)
        Creates an attribute block and initializes it
        equivalent to an existing block.

    GM_$ABLOCK_DELETE (ablock_id, status)
        Deletes an existing attribute block and releases its
        identification number.

    GM_$ABLOCK_INQ_ASSIGN_DISPLAY (aclass_id, ablock_id, status)
        Returns the current attribute block number assigned to a particular
        attribute class for the display.

    GM_$ABLOCK_INQ_ASSIGN_VIEWPORT (aclass_id, viewport_id, ablock_id, status)
        Returns the current attribute block number assigned to a particular
        attribute class for one viewport.

    GM_$ABLOCK_INQ_DRAW_RASTER_OP (ablock_id, raster_op, status)
        Returns the raster operation code for drawing lines for the specified
        attribute block.

    GM_$ABLOCK_INQ_DRAW_STYLE (ablock_id, style, repeat_factor, pattern,
                               pattern_length, status)
        Returns the line style set for the specified attribute block.

    GM_$ABLOCK_INQ_DRAW_VALUE (ablock_id, value, status)
        Returns the value for drawing lines set for the specified
        attribute block.

    GM_$ABLOCK_INQ_FILL_BACKGROUND_VALUE (ablock_id, value, status)
        Returns the background value for filling areas in the specified
        attribute block.

    GM_$ABLOCK_INQ_FILL_PATTERN (ablock_id, scale, size, pattern, status)
        Returns the pattern set for filling areas for the specified
        attribute block.

    GM_$ABLOCK_INQ_FILL_VALUE (ablock_id, value, status)
        Returns the value set for filling areas for the
        specified  attribute block.

    GM_$ABLOCK_INQ_FONT_FAMILY (ablock_id, font_family_id, status)
        Returns the font family identification number set for the specified
        attribute block.

    GM_$ABLOCK_INQ_PLANE_MASK (ablock_id, change, mask, status)
        Returns the value of the plane mask set for the
        specified attribute block.

    GM_$ABLOCK_INQ_TEXT_BACKGROUND_VALUE (ablock_id, value, status)
        Returns the text background value set for the specified
        attribute block.

    GM_$ABLOCK_INQ_TEXT_SIZE (ablock_id, size, status)
        Returns the size of text set for the specified attribute block.

    GM_$ABLOCK_INQ_TEXT_VALUE (ablock_id, value, status)
        Returns the value for writing text for
        the specified attribute block.

    GM_$ABLOCK_SET_DRAW_RASTER_OP (ablock_id, raster_op, status)
        Changes the raster operation code for drawing
        lines for this attribute block.

    GM_$ABLOCK_SET_DRAW_STYLE (ablock_id, style, repeat_factor, pattern,
                               pattern_length, status)
    Changes the value of the line style in this attribute block.

    GM_$ABLOCK_SET_DRAW_VALUE (ablock_id, value, status)
        Changes the value for drawing lines in this attribute block.

    GM_$ABLOCK_SET_FILL_BACKGROUND_VALUE (ablock_id, value, status)
        Changes the background value for filling areas in this
        attribute block.

    GM_$ABLOCK_SET_FILL_PATTERN (ablock_id, scale, size, pattern, status)
        Changes the fill pattern in this attribute block.

    GM_$ABLOCK_SET_FILL_VALUE (ablock_id, value, status)
        Changes the value for filling areas in this attribute block.

    GM_$ABLOCK_SET_FONT_FAMILY (ablock_id, font_family_id, status)
        Changes the font family in this attribute block.

    GM_$ABLOCK_SET_PLANE_MASK (ablock_id, change, mask, status)
        Changes the value of the plane mask in this attribute block.

    GM_$ABLOCK_SET_TEXT_BACKGROUND_VALUE (ablock_id, value,status)
        Changes the background value for text in this attriabute block.

    GM_$ABLOCK_SET_TEXT_SIZE (ablock_id, size, status)
        Changes the size of text in this attribute block.

    GM_$ABLOCK_SET_TEXT_VALUE (ablock_id, value, status)
        Changes the value for writing text set for this attribute block.

    GM_$ACLASS (aclass_id, status)
        Inserts a command into the current segment:  change to a
        different attribute class.

    GM_$CIRCLE_16 (center, radius, fill, status)
    GM_$CIRCLE_32 (center, radius, fill, status)
    GM_$CIRCLE_REAL (center, radius, fill, status)
        Inserts a command into the current segment: draw a circle.

    GM_$COMMAND_DELETE (status)
        Deletes the current command.

    GM_$COORD_BITMAP_TO_SEG_2D (bitmap_position, segment_position,status)
        Converts bitmap coordinates to segment coordinates.

    GM_$COORD_PIXEL_TO_SEG_2D (rotate, translate, pixel_position,
                              segment_position, status)
        Converts GPR bitmap coordinates used in within-GPR
        mode to segment coordinates, using a specified transformation.

    GM_$COORD_SEG_TO_BITMAP_2D (segment_position, bitmap_position, status)
        Converts segment coordinates to bitmap coordinates.

    GM_$COORD_SEG_TO_PIXEL_2D (rotate, translate, segment_position,
                               pixel_position, status)
        Converts within-GPR segment coordinates to GPR bitmap coordinates,
        using a specified transformation.

    GM_$CURSOR_INQ_ACTIVE (active, status)
        Returns the status of the cursor: displayed or not displayed.

    GM_$CURSOR_INQ_PATTERN (style, pattern_size, pattern, origin, status)
        Returns the type, pattern, and origin of the cursor.

    GM_$CURSOR_INQ_POSITION (bitmap_position, status)
        Returns the position of the cursor.

    GM_$CURSOR_SET_ACTIVE (active, status)
        Specifies whether or not the cursor is displayed.

    GM_$CURSOR_SET_PATTERN (style, pattern_size, pattern, origin, status)
        Specifies a cursor pattern, type, and origin.

    GM_$CURSOR_SET_POSITION (bitmap_position, status)
        Moves the cursor on the screen.

    GM_$CURVE_2D16 (curve_type, n_points, point_array, n_parameters,
                    parameter_array, status)
    GM_$CURVE_2D32 (curve_type, n_points, point_array, n_parameters,
                    parameter_array, status)
    GM_$CURVE_2DREAL (curve_type, n_points, point_array, n_parameters,
                      parameter_array, status)
        Inserts a command into the current segment: draw a curve.

    GM_$DATA_COERCE_INQ_REAL (data_type, status)
        Returns the data type to which real coordinates are converted.

    GM_$DATA_COERCE_SET_REAL (data_type, status)
        Specifies the data type to which subsequent real coordinates
        are converted.

    GM_$DISPLAY_FILE (status)
        Displays the entire current file in the current viewport.

    GM_$DISPLAY_FILE_PART (bounds, status)
        Displays part of the current file in the current viewport.

    GM_$DISPLAY_INQ_COLOR_MAP (start_index, n_entries, values, status)
        Returns the values in the display color map.

    GM_$DISPLAY_REFRESH (status)
        Redisplays all uninhibited viewports of the display.

    GM_$DISPLAY_SEGMENT (segment_id, status)
        Displays the specified segment (and all called segments) in
        the current viewport.

    GM_$DISPLAY_SEGMENT_GPR_2D (segment_id, rotate, translate, status)
        In within-GPR mode, allows you to display a segment within a
        GPR bitmap.

    GM_$DISPLAY_SEGMENT_PART (segment_id, bounds, status)
        Displays part of the specified segment (and all called segments)
        in the current viewport.

    GM_$DISPLAY_SET_COLOR_MAP (start_index, n_entries, values, status)
        Changes values in the display color map.

    GM_$DRAW_RASTER_OP (raster_op, status)
        Inserts a command into the current segment: change
        the logical raster operations to be performed when drawing.

    GM_$DRAW_STYLE (style, repeat_factor, pattern, pattern_length, status)
        Inserts a command into the current segment: set the
        line style (solid, dotted).

    GM_$DRAW_VALUE (value, status)
        Inserts a command into the current segment: set
        the value used when drawing lines.

    GM_$FILE_CLOSE (save, status)
        Closes the current file, saving revisions or not.

    GM_$FILE_COMPACT(name, name_length, status)
        Creates a new compacted GM file.

    GM_$FILE_CREATE (name, name_length, access, concurrency, file_id, status)
        Creates a new graphics metafile and makes it the current file.

    GM_$FILE_INQ_PRIMARY_SEGMENT (segment_id, status)
        Returns the  segment number assumed to be the start of the current
        file.

    GM_$FILE_OPEN (name, name_length, access, concurrency, file_id, status)
        Reopens an existing file and makes it the current file.

    GM_$FILE_SELECT (file_id, status)
        Makes the specified file the current file.

    GM_$FILE_SET_PRIMARY_SEGMENT (segment_id, status)
        Changes the segment number assumed to be the start of the current
        file.

    GM_$FILL_BACKGROUND_VALUE (value, status)
        Inserts a command into the current segment: set the value used for
        pixels not in the fill pattern when filling an area.

    GM_$FILL_PATTERN (scale, size, pattern, status)
        Inserts a command into the current segment:
        set the pattern used for the interior of filled areas.

    GM_$FILL_VALUE (value, status)
        Inserts a command into the current segment:  set the value used when
        filling an area.

    GM_$FONT_FAMILY (font_family_id, status)
        Inserts a command into the current segment: set
        the font family used when writing text.

    GM_$FONT_FAMILY_EXCLUDE (font_family_id, status)
        Undoes the inclusion of a font family.

    GM_$FONT_FAMILY_INCLUDE (pathname, pathname_length, font_type,
                             font_family_id, status)
        Specifies a font family to use in this metafile.

    GM_$FONT_FAMILY_INQ_ID (pathname, pathname_length, font_type,
                            font_family_id, status)
        Returns the identification number a previously included font family.

    GM_$FONT_FAMILY_RENAME (font_family_id, pathname, pathname_length,
                            font_type, status)
        Changes the font family file corresponding
        to this font family identification.

    GM_$INIT (display_mode, unit, size, n_planes, status)
        Initializes the graphics metafile package and opens the display.

    GM_$INPUT_DISABLE (event_type, status)
        Disables an input event type.

    GM_$INPUT_ENABLE (event_type, key_set, status)
        Enables an input event type.

    GM_$INPUT_EVENT_WAIT (wait, event_type, event_data, bitmap_position,
                          viewport_id, segment_position, status)
        Checks for or waits until an occurrence of an enabled input event.

    GM_$INQ_ACLASS (aclass_id, status)
        Returns the value stored for the current (GM_$ACLASS) command.

    GM_$INQ_BITMAP_SIZE (size, planes, status)
        Returns the size of the GM bitmap in pixels.

    GM_$INQ_CIRCLE_16 (center, radius, fill, status)
    GM_$INQ_CIRCLE_32 (center, radius, fill, status)
    GM_$INQ_CIRCLE_REAL (center, radius, fill, status)
        Returns the values stored for the current (GM_$CIRCLE) command.

    GM_$INQ_COMMAND_TYPE  (command_type, data_type, status)
        Returns the command type and the data type of the current command
        in the current segment.

    GM_$INQ_CONFIG (configuration, status)
        Returns the current configuration of the display device.

    GM_$INQ_CURVE_2D16 (curve_type, n_points, point_array, n_parameters,
                        parameter_array, status)
    GM_$INQ_CURVE_2D32 (curve_type, n_points, point_array, n_parameters,
                        parameter_array, status)
    GM_$INQ_CURVE_2DREAL (curve_type, n_points, point_array, n_parameters,
                          parameter_array, status)
        Returns the values stored for the current (GM_$CURVE) command.

    GM_$INQ_DRAW_RASTER_OP (raster_op, status)
        Returns the values stored for the current (GM_$DRAW_RASTER_OP)
        command.

    GM_$INQ_DRAW_STYLE (style, repeat_factor, pattern, pattern_length, status)
        Returns the values stored for the current (GM_$DRAW_STYLE) command.

    GM_$INQ_DRAW_VALUE (value, status)
        Returns the value stored for the current (GM_$DRAW_VALUE) command.

    GM_$INQ_FILL_BACKGROUND_VALUE (value, status)
        Returns the value stored for the current (GM_$FILL_BACKGROUND_VALUE)
        command.

    GM_$INQ_FILL_PATTERN (scale, size, pattern, status)
        Returns the value stored for the current (GM_$FILL_PATTERN) command.

    GM_$INQ_FILL_VALUE (value, status)
        Returns the value stored for the current (GM_$FILL_VALUE) command.

    GM_$INQ_FONT_FAMILY (font_family_id, status)
        Returns the value stored for the current (GM_$FONT_FAMILY) command.

    GM_$INQ_INSTANCE_SCALE_2D16 (segment_id, scale, translate, status)
    GM_$INQ_INSTANCE_SCALE_2D32 (segment_id, scale, translate, status)
    GM_$INQ_INSTANCE_SCALE_2DREAL (segment_id, scale, translate, status)
        Returns the value stored for the current (GM_$INSTANCE_SCALE_2D)
        command.

    GM_$INQ_INSTANCE_TRANSFORM_2D[16,32,REAL] (segment_id, rotate, translate,
                                               status)
    Returns the value stored for the current (GM_$INSTANCE_TRANSLATE) command.

    GM_$INQ_INSTANCE_TRANSLATE_2D16 (segment_id, translate, status)
    GM_$INQ_INSTANCE_TRANSLATE_2D32 (segment_id,  translate, status)
    GM_$INQ_INSTANCE_TRANSLATE_2DREAL (segment_id, translate, status)
        Returns the value stored for the current (GM_$INSTANCE_TRANSLATE_2D)
        command.

    GM_$INQ_PLANE_MASK (mask, status)
        Returns the value stored for the current (GM_$PLANE_MASK) command.

    GM_$INQ_POLYLINE_2D16 (n_points, point_array, close, fill, status)
    GM_$INQ_POLYLINE_2D32 (n_points, point_array, close, fill, status)
    GM_$INQ_POLYLINE_2DREAL (n_points, point_array, close, fill, status)
        Returns the values stored for the current (GM_$POLYLINE_2D) command.

    GM_$INQ_PRIMITIVE_2D16  (primitive_type, n_points, point_array,
                             n_parameters, parameter_array, status)
    GM_$INQ_PRIMITIVE_2D32 (primitive_type, n_points, point_array,
                            n_parameters, parameter_array, status)
    GM_$INQ_PRIMITIVE_2DREAL (primitive_type, n_points, point_array,
                              n_parameters, parameter_array, status)
        Returns the values stored for the current (GM_$PRIMITIVE) command.

    GM_$INQ_RECTANGLE_16 (point1, point2, fill, status)
    GM_$INQ_RECTANGLE_32 (point1, point2, fill, status)
    GM_$INQ_RECTANGLE_REAL (point1, point2, fill, status)
        Returns the values stored for the current (GM_$RECTANGLE) command.

    GM_$INQ_TAG (string, string_length, status)
        Returns the value stored for the current (GM_$TAG) command.

    GM_$INQ_TEXT_2D[16,32,REAL] (point, rotate, string, string_length, status)
        Returns the value stored for the current (GM_$TEXT_2D[16,32,REAL])
        command.

    GM_$INQ_TEXT_BACKGROUND_VALUE (value, status)
        Returns the value stored for the current (GM_$TEXT_BACKGROUND_VALUE)
        command.

    GM_$INQ_TEXT_SIZE (size, status)
        Returns the value stored for the current (GM_$TEXT_SIZE) command.

    GM_$INQ_TEXT_VALUE (value, status)
        Returns the value stored for the current (GM_$TEXT_VALUE) command.

    GM_$INSTANCE_SCALE_2D16 (segment_id, scale, translate, status)
    GM_$INSTANCE_SCALE_2D32 (segment_id, scale, translate, status)
    GM_$INSTANCE_SCALE_2DREAL (segment_id, scale, translate, status)
        Inserts a command into the current segment: instance the specified
        segment with the specified scale and translation parameters.

    GM_$INSTANCE_TRANSFORM_2D16 (segment_id, rotate, translate, status)
    GM_$INSTANCE_TRANSFORM_2D32 (segment_id, rotate, translate, status)
    GM_$INSTANCE_TRANSFORM_2DREAL (segment_id, rotate, translate, status)
        Inserts a command to instance the specified segment with the
        specified rotation and translation applied.

    GM_$INSTANCE_TRANSLATE_2D16 (segment_id, translate, status)
    GM_$INSTANCE_TRANSLATE_2D32 (segment_id, translate, status)
    GM_$INSTANCE_TRANSLATE_2DREAL (segment_id, translate, status)
        Inserts a command into the current segment: instance the identified
        segment with the specified translation.

    GM_$MODELCMD_INQ_MODE (gm_modelcmd_mode, status)
        Returns the values stored for the current (GM_$MODELCMD_SET_MODE)
        command.

    GM_$MODELCMD_SET_MODE (gm_modelcmd_mode, status)
        Sets the modeling command mode.

    GM_$PICK_COMMAND (search_rule, status)
        Within the current segment, selects a command which contains a
        selected point on the display.

    GM_$PICK_HIGHLIGHT_COMMAND (highlight, time, status)
        Highlights the current command on the display.

    GM_$PICK_HIGHLIGHT_SEGMENT (highlight, time, status)
        Within the current file, highlights the specified segment.

    GM_$PICK_INQ_CENTER (center, status)
        Returns the center of the pick aperture.

    GM_$PICK_INQ_LIST (max_length, length, list, status);
        Returns the current list of picked segments.

    GM_$PICK_INQ_MASK (mask, status)
        Returns the value of the mask used for segment pickable
        values during pick segment operations.

    GM_$PICK_INQ_THRESHOLD (threshold, status)
        Returns the value of the threshold used for segment
        pickable values during pick segment operations.

    GM_$PICK_SEGMENT (search_rule, segment_id, n_instances, bounds, status)
        Selects a segment which contains a specified point on the display.

    GM_$PICK_SET_CENTER (center, status)
        Changes the center of the pick aperture.

    GM_$PICK_SET_MASK (mask, status)
        Changes the value of the mask used for segment
        pickable values during pick segment operations.

    GM_$PICK_SET_SIZE (size, status)
        Specifies the size of the pick aperture.

    GM_$PICK_SET_THRESHOLD (threshold, status)
        Returns the value of the threshold used in
        pick search operations in the current segment.

    GM_$PICK_TRANSFORM_POINT (vsegment_position, psegment_position, status)
        Transforms the coordinates of a point from the coordinate system of
        the viewport segment to the coordinate system of the picked segment.

    GM_$PLANE_MASK (mask, status)
        Inserts a command into the current segment: change the plane mask.

    GM_$POLYLINE_2D16 (n_points, point_array, close, fill, status)
    GM_$POLYLINE_2D32 (n_points, point_array, close, fill, status)
    GM_$POLYLINE_2DREAL (n_points, point_array, close, fill, status)
        Inserts a command into the current segment: draw a linked set of
        line segments.

    GM_$PRIMITIVE_2D16 (primitive_type, n_points, point_array, n_parameters,
                        parameter_array, status)
    GM_$PRIMITIVE_2D32 (primitive_type, n_points, point_array, n_parameters,
                        parameter_array, status)
    GM_$PRIMITIVE_2DREAL (primitive_type, n_points, point_array, n_parameters,
                          parameter_array, status)
        Inserts a command into the current segment: draw a primitive.

    GM_$PRIMITIVE_DISPLAY_2D (primitive_type, display_procedure_ptr, status)
        Assigns the specified user-defined routine to the specified
        user-defined primitive type number.

    GM_$PRINT_FILE (file_name, file_name_length, size, invert, print_style,
                    bpi, status)
        Converts the current metafile to the specified file for subsequent
        printing on a hard-copy device.

    GM_$PRINT_FILE_PART (bounds, file_name, file_name_length, size, invert,
                         print_style, bpi, status)
        Converts part of the current metafile to the specified
        file for subsequent printing on a hard-copy device.

    GM_$RECTANGLE_16 (point1, point2, fill, status)
    GM_$RECTANGLE_32 (point1, point2, fill, status)
    GM_$RECTANGLE_REAL (point1, point2, fill, status)
        Inserts a command into the current segment : draw a rectangle with
        sides parallel to the x and y axes.

    GM_$REFRESH_SET_ENTRY (refresh_procedure_ptr, status)
        Specifies a user-defined routine to be called when the display is
        refreshed as a result of a DM refresh window or POP command.

    GM_$REPLACE_INQ_FLAG (yes_no, status)
        Returns the current value of the replace flag (Obsolete).  New
        programs use GM_$MODELCMD_INQ_MODE.

    GM_$REPLACE_SET_FLAG (yes_no, status)
        Sets or clears a flag which causes subsequent commands to replace
        the current command rather than being inserted after it (Obsolete).
        New programs use GM_$MODELCMD_SET_MODE.

    GM_$SEGMENT_CLOSE (save, status)
        Closes the current segment, saving revisions or not.

    GM_$SEGMENT_COPY (segment_id, status)
        Copies the entire contents of another segment into the current
        segment.

    GM_$SEGMENT_CREATE (name, name_length, segment_id, status)
        Creates a new segment.

    GM_$SEGMENT_DELETE (status)
        Deletes the current segment.

    GM_$SEGMENT_ERASE (status)
        Deletes all commands in the current segment.

    GM_$SEGMENT_INQ_COUNT (count, max_segid, status)
        Returns the number of segments in this metafile and a segment number
        guaranteed to be greater than or equal to the largest segment number.

    GM_$SEGMENT_INQ_CURRENT (name, name_length, segment_id,
                             n_instances, status)
        Returns the name, segment identification, and number of instances of
        the current segment.

    GM_$SEGMENT_INQ_ID (name, name_length, segment_id, n_instances, status)
        Returns the segment identification and the number of instances of
        the named segment.

    GM_$SEGMENT_INQ_NAME (seg_id, name, name_length, n_instances, status)
        Returns the name of the segment with the specified
        segment identification number.

    GM_$SEGMENT_INQ_PICKABLE (segment_id, pickable, status)
        Returns the pickable value of the specified segment.

    GM_$SEGMENT_INQ_TEMPORARY (segment_id, temporary, status)
        Returns whether the specified segment is temporary or not.

    GM_$SEGMENT_INQ_VISIBLE (segment_id, visible, status)
        Returns the visible value of the specified segment.

    GM_$SEGMENT_OPEN (segment_id, status)
        Reopens an existing segment.

    GM_$SEGMENT_RENAME (segment_id, name, name_length, status)
        Renames an existing segment.

    GM_$SEGMENT_SET_PICKABLE (segment_id, pickable, status)
        Assigns a pickable value to the specified segment.

    GM_$SEGMENT_SET_TEMPORARY (segment_id, temporary, status)
        Makes the specified segment temporary or not. Temporary segments
        are deleted when the file is closed.

    GM_$SEGMENT_SET_VISIBLE (segment_id, visible, status)
        Assigns a visible value to the specified segment.

    GM_$TAG (string, string_length, status)
        Inserts a comment into the current segment.

    GM_$TAG_LOCATE (string, string_length, min, max, segment_id, status)
        Looks for the specified tag in the specified range of segments and
        returns the segment ID of the lowest numbered segment in which the
        tag is found.

    GM_$TERMINATE (status)
        Terminates the graphics metafile package and closes the display.

    GM_$TEXT_2D[16,32,REAL] (point, rotate, string, string_length, status)
        Inserts a command into the current segment: write a text string.

    GM_$TEXT_BACKGROUND_VALUE (value, status)
        Inserts a command into the current segment: change the background
        value used when writing text.

    GM_$TEXT_SIZE (size, status)
        Inserts a command into the current segment : use a different text
        size from the same font family.

    GM_$TEXT_VALUE (value, status)
        Inserts a command into the current segment: set the value used
        when writing text.

    GM_$VIEWPORT_CLEAR (value, status)
        Clears the current viewport.

    GM_$VIEWPORT_CREATE (bounds, viewport_id, status)
        Creates an additional viewport and makes it the current viewport.

    GM_$VIEWPORT_DELETE (viewport_id, status)
        Deletes a viewport.

    GM_$VIEWPORT_INQ_BACKGROUND_VALUE (viewport_id, value, status)
        Returns the pixel value used for the background of the specified
        viewport.

    GM_$VIEWPORT_INQ_BOUNDS (bounds, status)
        Returns the bounds of the current viewport.

    GM_$VIEWPORT_INQ_CURRENT (viewport_id, status)
        Returns the number of the current viewport.

    GM_$VIEWPORT_INQ_REFRESH_STATE (refresh_state, status)
        Returns the refresh state of the current viewport.

    GM_$VIEWPORT_MOVE (translate, status)
        Translates the current viewport, carrying the view with it.

    GM_$VIEWPORT_REFRESH (status)
        Refreshes the current viewport.

    GM_$VIEWPORT_SELECT (viewport_id, status)
        Makes a viewport the current viewport.

    GM_$VIEWPORT_SET_BACKGROUND_VALUE (viewport_id, value, status)
        Sets the pixel value used for the background of the specified
        viewport.

    GM_$VIEWPORT_SET_BORDER_SIZE (border_unit, border_size, status)
        Specifies the border size of the current viewport, in pixels or
        fraction-of-bitmap coordinates.

    GM_$VIEWPORT_SET_BOUNDS (bounds, status)
        Changes the display bounds for the current viewport.

    GM_$VIEWPORT_SET_REFRESH_STATE (refresh_state, status )
        Sets the refresh state of the current viewport.

    GM_$VIEW_SCALE (scale, point, status)
        Scales the view under the current viewport,  keeping
        the specified point fixed.

    GM_$VIEW_TRANSFORM (rotate, point, status)
        Rotates the view under the current viewport, keeping  the
        specified point (in fraction-of-bitmap coordinates) fixed.

    GM_$VIEW_TRANSFORM_RESET (status)
        Resets the view tranformation to the form in which it was
        initially displayed.

    GM_$VIEW_TRANSLATE (translate, status)
        Translates the view under the current viewport.

    GM_$VISIBLE_INQ_MASK (mask, status)
        Returns the value of the visible mask.

    GM_$VISIBLE_INQ_THRESHOLD (threshold, status)
        Returns the value of the visible threshold.

    GM_$VISIBLE_SET_MASK (mask, status)
        Sets the value of the visible mask.

    GM_$VISIBLE_SET_THRESHOLD (threshold, status)
        Sets the visible threshold.

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