text_precision(3G)
NAME
text_precision − select how text will be drawn.
SYNOPSIS
C Syntax:
void text_precision ( fildes, precision );
int fildes, precision;
FORTRAN77 Syntax:
subroutine text_precision ( fildes, precision )
integer*4 fildes, precision
Pascal Syntax:
procedure text_precision ( fildes, precision:integer );
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
precision One of the values
STRING_TEXT
CHARACTER_TEXT
STROKE_TEXT
Discussion
text_precision selects the method by which subsequent text strings are drawn. If STRING_TEXT is selected, the device’s text capabilities are used. Hardware text generation, in general, provides only limited approximations to the actual text-size attributes which may have been set. Text attributes for hardware text may need to be set directly on the device by sending escape codes using a GESCAPE call. Consult the device’s reference manual for a list of these escape codes.
STROKE_TEXT causes characters to be drawn at a higher precision than hardware text, but at a slower rate on some devices.
Currently, STROKE_TEXT precision is used for CHARACTER_TEXT precision.
DEFAULTS
precision = STROKE_TEXT
SEE ALSO
Starbase Reference: text(3G). Starbase Graphics Techniques. Fast Alpha / Font Manager Programmer’s Manual.
Hewlett-Packard Company — November 03, 1994