character_height(3G)
NAME
character_height, dccharacter_height, intcharacter_height − set character height.
SYNOPSIS
C Syntax:
void character_height(fildes,height);
int fildes;
float height;
void dccharacter_height(fildes,dcheight);
int fildes,dcheight;
void intcharacter_height(fildes,height);
int fildes,height;
FORTRAN77 Syntax:
subroutine character_height(fildes,height)
integer*4 fildes
real height
subroutine dccharacter_height(fildes,dcheight)
integer*4 fildes,dcheight
subroutine intcharacter_height(fildes,height)
integer*4 fildes,height
Pascal Syntax:
procedure character_height(fildes:integer;height:real);
procedure dccharacter_height(fildes,dcheight:integer);
procedure intcharacter_height(fildes,height:integer);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
height Character height from bottom to top along the character up vector in virtual device coordinates. The up vector orients the character.
dcheight Integer height of the character from bottom to top along the character up vector in device coordinates.
Discussion
Character_height and intcharacter_height specify the height of subsequently drawn characters. The height is measured along the character up vector from the character cell bottom to the character cell top.
Dccharacter_height specifies the height of subsequently drawn device coordinate characters.
Note: If vdc_extent or intvdc_extent are changed, the character height changes with the new VDC extent. The default VDC character height is used if no previous calls were made to character_height or intcharacter_height.
Integer operations are only available when using the INT_XFORM gopen mode. When in INT_XFORM mode, floating point operations are not available for that fildes. Floating point operations are the default, or can be specified with FLOAT_XFORM mode. For a list of integer operations, floating point operations and common operations see the starbase.3g manual page.
DEFAULTS
1/50 of the y-dimension of the default virtual device coordinate extent. The size of the characters will change if the character up vector is not vertical with respect to the output device’s display.
For dccharacter_height, 15 device coordinates.
SEE ALSO
character_width(3G), character_expansion_factor(3G), vdc_extent(3G), Starbase Graphics Techniques.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994