Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetTextAlignment(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetTextAlignment(3)  —  Subroutines

Name

PEXSetTextAlignment - Set Text Alignment

Synopsis

void PEXSetTextAlignment(Display ∗display, XID resource_id, PEXOCRequestType req_type, int halignment, int valignment)

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

halignmentThe horizontal text alignment (PEXHAlignNormal, PEXHAlignLeft, PEXHAlignCenter, PEXHAlignRight).

valignmentThe vertical text alignment (PEXVAlignNormal, PEXVAlignTop, PEXVAlignCap, PEXVAlignHalf, PEXVAlignBase, PEXVAlignBottom).

Returns

None

Description

This function creates an output primitive attribute which sets the horizontal and vertical text alignment attributes. 

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

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