cmov(3G) — 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 cmove(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 the current character position to a specified point (as move sets the current line drawing position). x, y, z are integers, shorts, or real numbers in 2-D or 3-D space that specify a point in world coordinates. cmov transforms the specified world coordinates into screen coordinates, which become the new character position. If the transformed point is outside the viewport, the character position is undefined.
cmov does not affect the current graphics position.
SEE ALSO
charstr, move, readpixels, readRGB, writepixels, writeRGB Programming Guide, Section 3.8, Text
Version 3.6 — December 20, 1987