.\" @(#)PEXSetATextAlignment.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXSetATextAlignment 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetATextAlignment - Set Annotation Text Alignment .SH SYNTAX .HP void PEXSetATextAlignment\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, int \fIhalignment\fP\^, int \fIvalignment\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIhalignment\fP 1i The horizontal annotation text alignment ( .B PEXHAlignNormal, .B PEXHAlignLeft, .B PEXHAlignCenter, .B PEXHAlignRight ). .IP \fIvalignment\fP 1i The vertical annotation text alignment ( .B PEXVAlignNormal, .B PEXVAlignTop, .B PEXVAlignCap, .B PEXVAlignHalf, .B PEXVAlignBase, .B PEXVAlignBottom ). .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetATextAlignment .IX "Annotation Text" PEXSetATextAlignment .LP This function creates an output primitive attribute which sets the horizontal and vertical annotation text alignment attributes. .SH ERRORS .TP .SB BadPEXOutputCommand The output command contains an invalid value. .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid.