PEXSetATextUpVector(3) — Subroutines
Name
PEXSetATextUpVector - Set Annotation Text Up Vector
Synopsis
void PEXSetATextUpVector(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 annotation text character up vector.
Returns
None
Description
This function creates an output primitive attribute which sets the annotation 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. Only the direction of the vector is used, not the magnitude. However, 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.