Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_move_elem(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_move_elem(3g)  —  Subroutines

Name

pe_move_elem − Moves an element within the open structure. 

Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element

Syntax

void pe_move_elem (
  Pint     element       /∗ (I) Element position ∗/
)

Description

pe_move_elem moves the element at the specified element position within the open structure. 

Depending on the current edit mode, this function either inserts the moved structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new move structure element element. 

If the specified element position is the same as the position pointed at by the element pointer, Digital PHIGS does not change the element, regardless of the edit mode.  If the specified element position is greater than the total number of elements in the structure, Digital PHIGS uses the last element in the specified structure.  If the specified element position is less than 1, Digital PHIGS does not modify the open structure. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

Digital PHIGS Version 4.1 does not support this function.

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