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

rectzoom Subroutine

Purpose

Specifies a zoom factor for rectangle copies and writes.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void rectzoom(Float32 xfactor, Float32 yfactor)

FORTRAN Syntax

SUBROUTINE RECTZO(xfactor, yfactor)
REAL xfactor, yfactor

Description

The rectzoom subroutine specifies independent x and y zoom factors that the rectcopy and rectwrite subroutines use. Float values are rounded to the nearest integer.

The default value for the xfactor and yfactor parameters is 1.0.

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

Parameters

xfactor Specifies the multiplier of the rectangle in the x direction.
yfactor Specifies the multiplier of the rectangle in the y direction.

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

Copying a rectangle of pixels with an optional zoom with the rectcopy subroutine.

Drawing a rectangular array of pixels into the frame buffer with the rectwrite subroutine.

AIX Graphics Library Overview and Reading and Writing Pixels.


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