GINO Graphics Suite - GINO v9.0  

gSetDrawingLimits

Syntax

[C/C++:]
void gSetDrawingLimits(GDIM *dim, int type);
[F90:]
subroutine gSetDrawingLimits(dim ,type)

type (GDIM), intent(in) :: dim
integer, intent(in) :: type

Arguments

dim
Physical dimensions of required drawing area in the current units:

=  0.0, Leave unaltered

type
Type of paper

Description

The routine gSetDrawingLimits() allows the selection of a variety of paper sizes on plotters, or window sizes on devices with window managers. This routine may only be called after a device has been nominated and before the start of the first picture, or after a call to gNewDrawing() and before the start of the next picture.

The default orientation can be changed on plotters/printers by calling gSetDrawingLimits() with the horizontal and vertical limits interchanged. Thus, if the default drawing area orientation is landscape and a call is made to gSetDrawingLimits() such that the vertical dimension is greater than the horizontal, the orientation is changed to portrait. The orientation can be changed from portrait to landscape in the same manner, but in reverse.

type can be used on some devices to select alternate paper trays - consult Appendix B for further information.

See Also

gSetDrawingLimits Usage
Device Drivers