GINO Graphics Suite - GINO v9.0  

gShift

Syntax

[C/C++:]
void gShift2D(float dx, float dy);
void gShift3D(float dx, float dy, float dz);
[F90:]
subroutine gShift2D(dx,dy)
subroutine gShift3D(dx,dy,dz)
real, intent (in) :: dx,dy,dz

Arguments

dx,dy,dz
X,Y (and Z) displacement of origin in current units

Description

The routines gShift2D() and gShift3D() move the transformation origin by the specified amounts.

In space mode (the default) this increment is specified with respect to the current space axes, whilst in picture mode (see gSetTransformMode()) the increment is specified with respect to the picture axes.

If transforming is not on before this routine is called then gShift2D() switches it on.

See Also

gShift2D Usage
gSetTransformMode