GINO Graphics Suite - GINO v9.0  

gEnqViewportMode

Syntax

[C/C++:]
void gEnqViewportMode(int *sw);
[F90:]
subroutine gEnqViewportMode(sw)
integer, intent(out) :: sw

Arguments

sw
Viewport scaling switch

= GCENTRAL, Keep aspect ratio and centre in viewport
= GBOTTOMLEFT, Keep aspect ratio and place at bottom left of viewport
= GDEFORMED, Allow deformation of picture

Description

The routine gEnqViewportMode() returns the viewport scaling switch as set by gSetViewportMode(). The switch determines whether a viewport transformation set by gSetViewport2D() should keep the aspect ratio of the picture coordinate area or allow deformation.

See Also

gEnqViewportMode Usage
gSetViewportMode