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

editobj Subroutine

Purpose

Opens a display list for editing.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void editobj(Int32 object)

FORTRAN Syntax

SUBROUTINE EDITOB(object)
INTEGER*4 object

Description

The editobj subroutine opens a display list for editing. The system initializes an editing pointer to the end of the newly opened object. It appends all new routines at that pointer location until there is a call to the closeobj subroutine or to one that repositions the editing pointer, such as the objdelete, objinsert, or objreplace subroutines.

Usually it is not necessary to be concerned about memory allocation. Objects grow and shrink automatically as routines are added and deleted.

A call for an undefined object identifier causes the system to display an error message.

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

Parameter

object Specifies identifier for object definition to edit.

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

Specifying the amount of memory allocated for an object with the chunksize subroutine.

Closing an object with the closeobj subroutine.

Compacting the memory storage of an object with the compactify subroutine.

Creating an object with the makeobj subroutine.

Inserting a routine into an object with the objinsert 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 ]