Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cmov(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

cmov()  —  Silicon Graphics

NAME

cmov − updates the current character position

SPECIFICATION

C
cmov(x, y, z)
Coord x, y, z;

cmovi(x, y, z)
Icoord x, y, z;

cmovs(x, y, z)
Scoord x, y, z;

cmov2(x, y)
Coord x, y;

cmov2i(x, y)
Icoord x, y;

cmov2s(x, y)
Scoord x, y;

FORTRAN
subroutine cmov(x, y, z)
real x, y, z

subroutine cmovi(x, y, z)
integer*4 x, y, z

subroutine cmovs(x, y, z)
integer*2 x, y, z

subroutine cmov2(x, y)
real x, y

subroutine cmov2i(x, y)
integer*4 x, y

subroutine cmov2s(x, y)
integer*2 x, y

Pascal
procedure cmov(x, y, z: Coord);

procedure cmovi(x, y, z: Icoord);

procedure cmovs(x, y, z: Scoord);

procedure cmov2(x, y: Coord);

procedure cmov2i(x, y: Icoord);

procedure cmov2s(x, y: Scoord);

DESCRIPTION

cmov moves to a specified point (as move does) and establishes the current character position.  x, y, and z are integers, shorts, or real numbers in 2D or 3D space, which specify a world space point.  cmov transforms the specified world space point into a screen space point which is the new character position. If the transformed point is outside the viewport, the character position is undefined. 

cmov leaves the current graphics position undefined. 

SEE ALSO

charstr, move, readpixels, readRGB, writepixels, writeRGB IRIS Graphics Programming, Section 3.8, Text
 

Version 2.5r1  —  October 29, 1986

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