1XmStringDrawImage(library call)                XmStringDrawImage(library call)
2
3
4

NAME

6       XmStringDrawImage  —  A  compound string function that draws a compound
7       string in an X Window and creates an image
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       void XmStringDrawImage(
12       Display * d,
13       Window w,
14       XmRenderTable rendertable,
15       XmString string,
16       GC gc,
17       Position x,
18       Position y,
19       Dimension width,
20       unsigned char alignment,
21       unsigned char layout_direction,
22       XRectangle * clip);
23

DESCRIPTION

25       XmStringDrawImage draws a compound string in an  X  Window  and  paints
26       both  the  foreground and background bits of each character.  If a com‐
27       pound string segment uses a rendition that contains  a  font  set,  the
28       graphic  context  passed  to  this routine will have the GC font member
29       left in an  undefined  state.  The  underlying  XmbStringDraw  function
30       called by this routine modifies the font ID field of the GC passed into
31       it and does not attempt to restore the font ID to the  incoming  value.
32       If  the  compound  string  segment  is  not drawn using a font set, the
33       graphic context must contain a valid font member. Graphic contexts cre‐
34       ated  by XtGetGC are not accepted by this routine; instead, use XtAllo‐
35       cateGC to create a graphic context.
36
37       d         Specifies the display.
38
39       w         Specifies the window.
40
41       rendertable
42                 Specifies the render table.
43
44       string    Specifies the string.
45
46       gc        Specifies the graphics context to use.
47
48       x         Specifies a coordinate of the rectangle that will contain the
49                 displayed compound string.
50
51       y         Specifies a coordinate of the rectangle that will contain the
52                 displayed compound string.
53
54       width     Specifies the width of the rectangle that  will  contain  the
55                 displayed compound string.
56
57       alignment Specifies how the string will be aligned within the specified
58                 rectangle.   It  is  either  XmALIGNMENT_BEGINNING,  XmALIGN‐
59                 MENT_CENTER, or XmALIGNMENT_END.
60
61       layout_direction
62                 Controls  the direction in which the segments of the compound
63                 string will be laid out. It also determines  the  meaning  of
64                 the alignment parameter.
65
66       clip      Allows  the  application  to restrict the area into which the
67                 compound string will be drawn.  If  NULL,  clipping  will  be
68                 determined by the GC.
69
71       XmStringCreate(3).
72
73
74
75                                               XmStringDrawImage(library call)
Impressum