[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

OFFSET ELEMENT POINTER (PHOP,*,STOP,*)

Purpose

Use Offset Element Pointer to move the element pointer to a new element relative to the current element pointer.

This subroutine adds the pointer offset value to the element pointer. It can either be positive, which moves the element pointer forward, or negative, which moves the element pointer backward. If the resultant value is less than zero, then the element pointer defaults to a value of zero. If the resultant value is greater than the number of elements in the open structure, then the graPHIGS API sets the pointer to the last element.

Language Bindings

C

poffset_elem_ptr (elem_ptr_offset)

Input Parameters

Pint elem_ptr_offset
Element pointer offset.

FORTRAN

POSEP (epo)

Input Parameters

integer epo
Element pointer offset.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Inquire Element Pointer


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