[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

textport Subroutine

Purpose

Allocates an area of the screen for the textport.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void textport
(Screencoord left, Screencoord right,
Screencoord bottom, Screencoord top)

FORTRAN Syntax

SUBROUTINE TEXTPO(left, right, bottom, top)
INTEGER*4 left, right, bottom, top
Note: For FORTRAN users, this subroutine accepts long integer parameters (INTEGER*4) when started from a FORTRAN program, although it accepts short integers when started from a C program. The C and FORTRAN syntax shown here reflect this difference.

Description

The textport subroutine allocates an area on the screen for the textport window.

Note: This subroutine cannot be used to add to a display list.

Parameters

left Specifies the x screen coordinate for the left side of the textport.
right Specifies the x screen coordinate for the right side of the textport.
bottom Specifies the y screen coordinate for the bottom of the textport.
top Specifies the y screen coordinate for the top of the textport.

Example

The example C language program tpbig.c uses the textport subroutine to define a textport.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Turning off the textport with the tpoff subroutine.

Turning on the textport with the tpon subroutine.

AIX Graphics Library Overview and Working with the Textport.


[ Previous | Next | Contents | Glossary | Home | Search ]