Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hatch_orien(3G) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hatch_type(3G)

hatch_spacing(3G)

interior_style(3G)

hatch_orientation(3G)

NAME

hatch_orientation − specify hatch line orientation

SYNOPSIS

C Syntax:

void hatch_orientation(fildes,vector_x,vector_y)
int fildes;
float vector_x,vector_y;

FORTRAN77 Syntax:

subroutine hatch_orientation(fildes,vector_x,vector_y)
integer*4 fildes
real vector_x,vector_y

Pascal Syntax:

procedure hatch_orientation(fildes:integer;vector_x,vector_y:real);

DESCRIPTION

Input Parameters

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

vector_x,vector_y
A vector indicating the orientation of the hatch lines.  For instance, (4.0,4.0) would specify hatching at a 45 degree angle.
 

Discussion

The hatch_orientation call allows the user to specify any desired orientation of hatch lines.  The orientation vector is relative to the display surface; therefore, hatchlines drawn with an orientation of (1.0,1.0) will always be at an angle of 45 degrees.  An orientation vector of (0.0,0.0) will return an error. 

Defaults

vector_x,vector_y = (1.0,0.0). 

SEE ALSO

hatch_type(3G), hatch_spacing(3G), interior_style(3G)

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

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