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
Hewlett-Packard Company — November 03, 1994