[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

objinsert Subroutine

Purpose

Inserts routines in an object at a specified location.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void objinsert(Int32 tag)

FORTRAN Syntax

SUBROUTINE OBJINS(tag)
INTEGER*4 tag

Description

The objinsert subroutine positions the editing pointer at the location specified by the tag parameter. All subsequent graphics primitives are inserted into the display list at the current location of the editing pointer. Each graphics primitive increments the editing pointer to point immediately after the most recently inserted subroutine (in the same way that the cursor advances in an ordinary text editing facility as letters are typed).

Use the closeobj to terminate insertion and close up the current display list or one of the positioning subroutines (objdelete, objinsert, or objreplace) to reposition the editing pointer.

Note: This editing subroutine itself cannot be added to a display list.

Parameter

tag Specifies a tag within the object definition to be edited.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Closing an object with the closeobj subroutine.

Opening an object for editing with the editobj subroutine.

Marking a location in the display list with the maketag subroutine.

Deleting a routine from an object with the objdelete subroutine.

Replacing an existing display list routine with a new one with the objreplace subroutine.

AIX Graphics Library Overview and Creating Objects (Display Lists).


[ Previous | Next | Contents | Glossary | Home | Search ]