texture_window(3G)
NAME
texture_window − define a 2 dimensional transformation onto the texture_viewport.
SYNOPSIS
C Syntax:
void texture_window(fildes,u1,v1,u2,v2);
int fildes;
float u1,v1,u2,v2;
FORTRAN77 Syntax:
subroutine texture_window(fildes,u1,v1,u2,v2)
integer*4 fildes
real u1,v1,u2,v2
Pascal Syntax:
procedure texture_window(fildes:integer;
u1,v1,u2,v2:real);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
u1,v1,u2,v2 Boundaries of the new window mapped onto the texture map viewport.
Discussion
This procedure specifies (u,v) coordinate values which map onto the (s,t) coordinates specified by texture_viewport. These values, in conjunction with the values from texture_viewport, define a 2x3 transformation matrix which transforms the (u,v,1) coordinates into the texture map (s,t) coordinates.
Note that, in the default case, (u,v,1) maps one to one into (s,t).
DEFAULTS
(u1,v1)=(0.0,0.0), (u2,v2)=(1.0,1.0)
SEE ALSO
define_texture(3G), texture_viewport(3G), Starbase Device Drivers Library.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994