Moves the current graphics position to a specified point.

FORTRAN (**libfgl.a**)

void move(Coordx, Coordy, Coordz)

void movei(Icoordx, Icoordy, Icoordz)

void moves(Scoordx, Scoordy, Scoordz)

void move2(Coordx, Coordy)

void move2i(Icoordx, Icoordy)

void move2s(Scoordx, Scoordy)

SUBROUTINE MOVE(x,y,z)REALx,y,z

SUBROUTINE MOVEI(x,y,z)INTEGER*4x,y,z

SUBROUTINE MOVES(x,y,z)INTEGER*2x,y,z

SUBROUTINE MOVE2(x,y)REALx,y

SUBROUTINE MOVE2I(x,y)INTEGER*4x,y

SUBROUTINE MOVE2S(x,y)INTEGER*2x,y

Note:For FORTRAN users, the INTEGER*2 versions of this subroutine,MOVESandMOVE2S, should not be called with integer constant parameters. For example, 2 is an integer constant; JJ is an integer variable. The XL FORTRAN compiler, invoked by thexlfcommand, stores all integer constants as long integers (INTEGER*4), not as short integers (INTEGER*2). Invoking one of the short versions of this subroutine with an integer constant will result in unexpected behavior.

The **move **subroutine changes (without drawing) the
current graphics position to the point specified by the *x, y*, and *z* parameters. The graphics position is the point from which the next drawing routine starts drawing.

The value of **move2(***x***, ***y***) **is equivalent to **move(***x***, ***y***, **0.0**)**.

The six different forms for the **move** subroutine are as follows:

2-D |
3-D | |

Int16 | move2s | moves |

Int32 | move2i | movei |

float | move2 | move |

The syntax for each of the subroutine forms is the same except for the parameter types. They differ only in that **move** expects real coordinates, **movei** expects integer coordinates, and **moves** expects short integer coordinates. In addition, the **move2*** routines assume a 2-D point instead of a 3-D point.

Note:This subroutine cannot be used to add to a display list.

The example C language program **depthcue.c** uses the **movei** subroutine when defining a graphical object to move the graphics position without drawing any lines.

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

/usr/include/gl/gl.h |
Contains C language constant and variable type definitions for GL. |

/usr/include/gl/fgl.h |
Contains FORTRAN constant and variable type definitions for GL. |

Drawing a line with the **draw** subroutine.

Specifying the starting point for a polygon with the **pmv** subroutine.

Drawing a point with the **pnt** subroutine.

Drawing a relative line with the **rdr** subroutine.

Moving the current graphics position to a point relative to the current point with the **rmv** subroutine.

AIX Graphics Library Overview and Drawing with Move-Draw Style Subroutines.