Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ text_precis(3G) — HP-UX 5.00

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);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 
precision
is 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, then 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 the characters to be drawn at a higher precision than hardware text, but may be slower on some devices.
  Currently, STROKE_TEXT precision is used for CHARACTER_TEXT precision.

DEFAULTS

precision = STROKE_TEXT

SEE ALSO

Starbase Programmer’s Tutorial. 

Hewlett-Packard  —  last mod. May 11, 2021

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