Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXText2D(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXText2D(3)  —  Subroutines

Name

PEXText2D - 2D Text Primitive

Synopsis

void PEXText2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, PEXCoord2D ∗origin, int length, char ∗string)

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

originThe origin of the text string. 

lengthThe number of bytes in the text string. 

stringA pointer to the text string. 

Returns

None

Description

This function creates a 2D text output primitive. 

This function is like PEXText, except that the origin position consists of only x- and y-components.  The z-component is assumed to be zero.  This primitive is two-dimensional only in that the z-component is implied.  Geometry transformations are still carried out in three dimensions.

Data Structures

See the PEXStructuresman page.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXSetTextFontIndex, PEXSetTextPrecision,
PEXSetCharExpansion, PEXSetCharSpacing, PEXSetTextColorIndex,
PEXSetTextColor, PEXSetCharHeight, PEXSetCharUpVector,
PEXSetTextPath, PEXSetTextAlignment, PEXSetTextBundleIndex

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