PEXtTranslate(3PEXt)

NAME
PEXtTranslate — compose a translation matrix as a local transform structure element

SYNOPSIS
#include <PEXt/PEXt.h>
#include <PEXt/Structure.h>

void PEXtTranslate (dx, dy, composition)
    Pfloat    dx, dy;
    Pcomp_type    composition;

void PEXtTranslate3 (dx, dy, dz, composition)
    Pfloat    dx, dy, dz;
    Pcomp_type    composition;

  Required PHIGS Operating States
(PHOP, *, STOP, *)

DESCRIPTION
These convenience procedures create a translation matrix of the given amount using the PHIGS functions ptranslate and ptranslate3. The resulting matrix appears as a SET LOCAL TRANSFORMATION (or SET LOCAL TRANSFORMATION 3) structure element with the given composition in the currently open structure. If the current edit mode is PINSERT, then the transformation structure element is inserted at the current element pointer position, otherwise it replaces the element at the current element poiter position.

RETURN VALUE
None

SEE ALSO
PEXtRotate(3)
PEXtNonUniformScale(3)
PEXtBuildTran(3)
ptranslate(3)
ptranslate3(3)

AUTHOR
Rich Thomson <rthomson@dsd.es.com>
Design Systems Division
Evans & Sutherland Computer Corporation