Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

SETVIEWORG

Graphics Subroutine: Moves the viewport-coordinate origin (0, 0) to the specified physical point. This routine is only available for Windows.

Module

USE IFQWIN

CALL SETVIEWORG (x,y,s)

x, y

(Input) INTEGER(2). Physical coordinates of new viewport origin.

s

(Output) Derived type xycoord. Physical coordinates of the previous viewport origin. The derived type xycoordis defined in IFQWIN.F90 as follows:

 TYPE xycoord
   INTEGER(2) xcoord ! x-coordinate
   INTEGER(2) ycoord ! y-coordinate
 END TYPE xycoord

The xycoordtype variable s, defined in IFQWIN.F90, returns the physical coordinates of the previous viewport origin.

Example

 USE IFQWIN
 TYPE ( xycoord ) xy

 CALL SETVIEWORG(INT2(30), INT2(30), xy)