Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetTextPrecision(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetTextPrecision(3)  —  Subroutines

Name

PEXSetTextPrecision - Set Text Precision

Synopsis

void PEXSetTextPrecision(Display ∗display, XID resource_id, PEXOCRequestType req_type, int precision)

Arguments

displayA pointer to a display structure returned by a successful XOpenDisplay call. 

resource_idThe resource identifier of the renderer or structure. 

req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).

precisionThe text precision (PEXStringPrecision, PEXCharPrecision, PEXStrokePrecision).

Returns

None

Description

This function creates an output primitive attribute which sets the text precision attribute. 

When text or annotation text is interpreted, the fragments in the text string are rendered in the same text precision.  If the font group selected by the current text font index consists of both X and PEX fonts, and if some of the string fragments in the string are rendered in X fonts, the text precision of the entire string must be dropped to at least PEXCharPrecision.

If a character set value is not available in the current font group, then the entire string is rendered using the default font group.  If a character set value is not available in the default font group, then that portion of the string is rendered in an implementation-dependent manner. 

Errors

BadPEXOutputCommand
The output command contains an invalid value.

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXSetIndividualASF

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