Objects which are drawn into the graphics window first undergo a transformation based on the current view type. There is also the concept of a current viewport, which is the section of window in which drawing will occur.
public void G_set_viewport(
Gwindow window,
int x_min,
int x_max,
int y_min,
int y_max )
public void G_set_view_type(
Gwindow window,
View_types view_type )
public void G_set_3D_view(
Gwindow window,
Point *origin,
Vector *line_of_sight,
Vector *up_direction,
Real front_clip_distance,
Real back_clip_distance,
BOOLEAN perspective_flag,
Real perspective_distance,
BOOLEAN stereo_flag,
Real eye_separation,
Real window_width,
Real window_height )
public void G_set_modeling_transform(
Gwindow window,
Transform *transform )
public void G_push_transform(
Gwindow window,
Transform *transform )
public void G_pop_transform(
Gwindow window )
public void G_transform_point(
Gwindow window,
Point *point,
View_types view_type,
int *x_pixel,
int *y_pixel )