Previous Next Up Title Contents Index Functions Index Top Library

DEFINITION OF A CENTERED 2D VIEW

tview2_center


CALL SEQUENCE

void tview2_center (wkid,view_ind, pointc, zoom, viewport) 

INPUT PARAMETERS

Pint	wkid;
Pint	view_ind;
Ppoint	*pointc;
Pfloat	zoom;
Plimit	*viewport;

ARGUMENTS

wkid
Identifier of the workstation on which the view is defined.
view_ind
Index of the view to be defined.
pointc
Coordinates (in normalized space 0-1 × 0-1) of the point of the scene concerned.
zoom
Zoom factor (1=normal).
viewport
Viewport (see tview_config).

EFFECT

This function defines a 2D view (index view_ind) of the workstation which identifier is wkid. The point pointc is centered in the viewport.


Previous Next Up Title Contents Index Functions Index Top Library