Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ text_precis(3G) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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. 

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 Graphics Techniques.

Hewlett-Packard Company  —  May 11, 2021

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