Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

text_orientation(3G)

CHARACTER_SLANT(3G)

NAME

character_slant − specify character slant

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);

DESCRIPTION

Input Parameters

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

slant 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, and 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 affects only the x value; the y value is unchanged. 

DEFAULTS

Zero slant

SEE ALSO

text_orientation(3G)

Hewlett-Packard Company  —  May 11, 2021

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