Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ character_s(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

text_orientation(3g)

CHARACTER_SLANT(3G)

NAME

character_slant − specify the slant of characters. 

SYNOPSIS

C SYNTAX

void character_slant(fildes,slant);
int fildes;
float slant;

FORTRAN77 SYNTAX

        subroutine character_slant(fildes,slant)
        integer*4 fildes
        real slant

PASCAL SYNTAX

procedure character_slant(fildes:integer;slant:real);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: HP

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 
slant
is the tangent of the angle between the character up vector and the trailing edge of the character box measured in a clockwise direction.

DISCUSSION

Character_slant specifies the character slant for all subsequently drawn characters.  The location of the character’s origin, the baseline-to-capline height, the length of the character baseline are not affected by character_slant. 
 
A slanted point can be calculated using the equation:
 
    x = x + y * slant
 
where (x,y) is any point in the character body (y=0 is the baseline). Slant only affects the x value; the y value is unchanged.

DEFAULTS

Zero slant

SEE ALSO

text_orientation(3g)

Hewlett-Packard  —  last mod. May 11, 2021

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