Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetCharUpVector(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetCharUpVector(3)  —  Subroutines

Name

PEXSetCharUpVector - Set Character Up Vector

Synopsis

void PEXSetCharUpVector(Display ∗display, XID resource_id, PEXOCRequestType req_type, PEXVector2D ∗vector)

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

vectorThe text character up vector. 

Returns

None

Description

This function creates an output primitive attribute which sets the text up vector attribute.  The vector is specified in the text local coordinate system defined by the direction vectors associated with the annotation text primitive.  If the annotation text up vector is degenerate (it has a length of zero), a value <0,1> is used. 

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

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