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

maketag Subroutine

Purpose

Inserts a marker tag into a display list.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void maketag(Int32 tag)

FORTRAN Syntax

SUBROUTINE MAKETA(tag)
INTEGER*4 tag

Description

The maketag subroutine inserts a marker, or tag, at the current editing location of the currently open display list. The current editing position is usually at the end of the display list, if the display list was recently opened with the makeobj subroutine or editobj subroutine.

The current position can be maneuvered with the objdelete, objinsert, and objreplace subroutines. Tags can be used to help in the maneuvering through and editing of display lists.

There are two predefined tags, STARTTAG and ENDTAG, which mark the beginning and end of the display list. Tags should be unique within a single object; however, there is no restriction regarding uniqueness across different objects. Unique tags can be generated with the gentag subroutine.

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

Parameter

tag Specifies a 31-bit numeric identifier assigned to a routine in the display list.

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

Deleting tags from a display list with the deltag subroutine.

Returning a unique integer for use as a tag number with the gentag subroutine.

Establishing the uniqueness of a tag number with the istag subroutine.

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]