Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inquire_siz(3G) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mapping_mode(3g)

,vdc_extent(3g)

,viewport_justification(3g)

,set_p1_p2(3g)

INQUIRE_SIZES(3G)

NAME

inquire_sizes − return the device’s physical limits, resolution, (p1,p2) and color map size. 

SYNOPSIS

C SYNTAX

void inquire_sizes(fildes,physical_limits,resolution,
p1,p2,cmap_size);
int fildes;
float physical_limits[2][3],resolution[3],p1[3],p2[3];
int *cmap_size

FORTRAN77 SYNTAX

        subroutine inquire_sizes(fildes,physical_limits,
        resolution,p1,p2,cmap_size)
        integer*4 fildes,cmap_size
        real physical_limits(3,2),resolution(3),p1(3),p2(3)

PASCAL SYNTAX

procedure inquire_sizes(fildes:integer;
var physical_limits:three_d_limits;
var resolution:three_d_resolution; var p1,p2:three_d_point;
var cmap_size:integer);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETER

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 

OUTPUT PARAMETERS

physical_limits
the device’s accessible area in device coordinates.
(z=0 for 2D devices)
resolution
is the number of millimeters/device coordinate.
p1,p2
are the physical device limits in millimeters.  P1 and P2 are the points (lower left and upper right respectively) that define the device viewport that the vdc_extent is mapped to, using the viewport_justification and mapping_mode.  The Starbase command set_p1_p2 can be used to redefine P1 and P2.
(z=0 for 2-Dimensional devices).
cmap_size
the number of entries in the device’s color map.
 

SEE ALSO

mapping_mode(3g),vdc_extent(3g),viewport_justification(3g),set_p1_p2(3g). 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026