[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPCHSP - Set Character Spacing

GPCHSP (space)

Purpose

Use GPCHSP to insert a Set Character Spacing structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Character Spacing structure element depending on the current edit mode.

This structure element specifies the additional amount of space the graPHIGS API inserts between characters at structure traversal time to render all subsequent text primitives when the character spacing attribute source flag is set to 2=INDIVIDUAL

This value is expressed as a fraction of the height.

The traversal default for character spacing is 0.0.

Parameters

space -- specified by user, short floating-point number

Character spacing.

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)

Related Subroutines

GPASF
Attribute Source Flag Setting
GPQPTR
Inquire Predefined Text Representation
GPTXPR
Set Text Precision

RCP code

201328650 (X'0C00080A')


[ Previous | Next | Contents | Glossary | Home | Search ]