Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ text_orient(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TEXT_ORIENTATION(3G)

NAME

text_orientation − specify text orientation. 

SYNOPSIS

C SYNTAX

void text_orientation2d(fildes,up_x,up_y,base_x,base_y);
int fildes;
float up_x,up_y,base_x,base_y;
 void text_orientation3d(fildes,up_x,up_y,up_z,base_x,
base_y,base_z);
int fildes;
float up_x,up_y,up_z,base_x,base_y,base_z;

FORTRAN77 SYNTAX

        subroutine text_orientation2d(fildes,up_x,up_y,
        base_x,base_y)
        integer*4 fildes
        real up_x,up_y,base_x,base_y
         subroutine text_orientation3d(fildes,up_x,up_y,
        up_z,base_x,base_y,base_z)
        integer*4 fildes
        real up_x,up_y,up_z,base_x,base_y,base_z

PASCAL SYNTAX

procedure text_orientation2d(fildes:integer;up_x,up_y,
base_x,base_y:real);
 procedure text_orientation3d(fildes:integer;up_x,up_y,
up_z,base_x,base_y,base_z:real);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 
up_x, up_y, up_z
the coordinates of the up vector relative to (0.0,0.0,0.0).
base_x, base_y, base_z
the coordinates of the base vector relative to (0.0,0.0,0.0).

DISCUSSION

Text_orientation defines two vectors which in turn determine the orientation of subsequently drawn text characters.  The up vector has the effect of slanting characters away from the vertical and also defines the direction of line feed characters.  The base vector defines the positioning of subsequent characters, in a string, when the text path is either left or right. 

DEFAULTS

(up_x,up_y,up_z) = (0.0,1.0,0.0)
(base_x,base_y,base_z) = (1.0,0.0,0.0)

SEE ALSO

Starbase Programmer’s Tutorial. 

Hewlett-Packard  —  last mod. May 11, 2021

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