Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetTextFontIndex(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetTextFontIndex(3)  —  Subroutines

Name

PEXSetTextFontIndex - Set Text Font Index

Synopsis

void PEXSetTextFontIndex(Display ∗display, XID resource_id, PEXOCRequestType req_type, unsigned int index)

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

indexThe text font table index. 

Returns

None

Description

This function creates an output primitive attribute which sets the text font index attribute.  Index specifies the entry in the current text font lookup table used to render text primitives.  If index is undefined, the default index one is used.  If index one is undefined, the result is implementation-dependent. 

A text font table index less than 1 will produce a BadPEXOutputCommand error.

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, PEXCreateLookupTable

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