home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww - A compound string function that draws a compound string in an X window SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/Xm.h> vvvvooooiiiidddd XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww( DDDDiiiissssppppllllaaaayyyy **** dddd, WWWWiiiinnnnddddoooowwww wwww, XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee rrrreeeennnnddddeeeerrrrttttaaaabbbblllleeee, XXXXmmmmSSSSttttrrrriiiinnnngggg ssssttttrrrriiiinnnngggg, GGGGCCCC ggggcccc, PPPPoooossssiiiittttiiiioooonnnn xxxx, PPPPoooossssiiiittttiiiioooonnnn yyyy, DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh, uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr aaaalllliiiiggggnnnnmmmmeeeennnntttt, uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr llllaaaayyyyoooouuuutttt____ddddiiiirrrreeeeccccttttiiiioooonnnn, XXXXRRRReeeeccccttttaaaannnngggglllleeee **** cccclllliiiipppp); VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww draws a compound string in an X Window. If a compound string segment uses a rendition that contains a font set, the graphic context passed to this routine will have the GC font member left in an undefined state. The underlying XXXXmmmmbbbbSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww function called by this routine modifies the font ID field of the GC passed into it and does not attempt to restore the font ID to the incoming value. If the compound string segment is not drawn using a font set, the graphic context must contain a valid font member. Graphic contexts created by XXXXttttGGGGeeeettttGGGGCCCC are not valid for this routine; instead, use XXXXttttAAAAllllllllooooccccaaaatttteeeeGGGGCCCCto create a graphic context. _d Specifies the display. _w Specifies the window. _r_e_n_d_e_r_t_a_b_l_e Specifies the render table. _s_t_r_i_n_g Specifies the string. _g_c Specifies the graphics context to use. _x Specifies a coordinate of the rectangle that will contain the displayed compound string. _y Specifies a coordinate of the rectangle that will contain the displayed compound string. Page 1 (printed 10/3/02) XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX)))) _w_i_d_t_h Specifies the width of the rectangle that will contain the displayed compound string. _a_l_i_g_n_m_e_n_t Specifies how the string will be aligned within the specified rectangle. It is either XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____BBBBEEEEGGGGIIIINNNNNNNNIIIINNNNGGGG, XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____CCCCEEEENNNNTTTTEEEERRRR, or XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____EEEENNNNDDDD. _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n Controls the direction in which the segments of the compound string will be laid out. It also determines the meaning of the _a_l_i_g_n_m_e_n_t parameter. _c_l_i_p Allows the application to restrict the area into which the compound string will be drawn. If the value is NULL, clipping will be determined by the GC. RRRREEEELLLLAAAATTTTEEEEDDDD XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee(3). Page 2 (printed 10/3/02)