Manual Reference Pages  - getviewport (3m_draw)

NAME

getviewport(3f) - [M_draw:VIEWPORT] Returns limits of current viewport in screen coordinates (LICENSE:PD)

CONTENTS

Synopsis
Description
Options

SYNOPSIS

subroutine getviewport(left, right, bottom, top) real,intent(out) :: left real,intent(out) :: right real,intent(out) :: bottom real,intent(out) :: top

DESCRIPTION

Returns the left, right, bottom and top limits of the current viewport in screen coordinates (-1.0 to 1.0).

   If a device has been declared to be real :: array(600,400)

o-----> X (right=600,top=0) | #------------------------------------# | | | | | | V | | Y | | #------------------------------------# (left=0,bottom=400)

OPTIONS

LEFT value for left side
RIGHT value for right side
BOTTOM value for bottom side
TOP value for top side


Nemo Release 3.1 getviewport (3m_draw) May 28, 2023
Generated by manServer 1.08 from 0b5b8c88-0548-47f4-be2a-0d26555566a2 using man macros.