character_expansion_factor(3G)
NAME
character_expansion_factor − set character cell height-to-width ratio.
SYNOPSIS
C Syntax:
void character_expansion_factor ( fildes, factor );
int fildes;
float factor;
FORTRAN77 Syntax:
subroutine character_expansion_factor ( fildes, factor )
integer*4 fildes
real factor
Pascal Syntax:
procedure character_expansion_factor ( fildes:integer;
factor:real );
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
factor Deviation factor from the width/height ratio specified with each font.
Discussion
Character_expansion_factor (relative character width) sets the character cell width to
(factor)*(character height)*(font width/height ratio)
The character_width and character_expansion_factor procedures both modify the width of a character. The procedure most recently executed defines the character width for subsequently drawn characters.
DEFAULTS
Factor = 1.0.
SEE ALSO
character_width(3G), character_height(3G), intra_character_space(3G), Starbase Graphics Techniques.
Hewlett-Packard Company — November 03, 1994