1XmbDrawImageString(3)           XLIB FUNCTIONS           XmbDrawImageString(3)
2
3
4

NAME

6       XmbDrawImageString, XwcDrawImageString, Xutf8DrawImageString - draw im‐
7       age text using a single font set
8

SYNTAX

10       void  XmbDrawImageString(Display   *display,   Drawable   d,   XFontSet
11              font_set,  GC  gc,  int  x,  int  y,  _Xconst  char *string, int
12              num_bytes);
13
14       void  XwcDrawImageString(Display   *display,   Drawable   d,   XFontSet
15              font_set,  GC  gc,  int  x,  int y, _Xconst wchar_t *string, int
16              num_wchars);
17
18       void  Xutf8DrawImageString(Display  *display,  Drawable   d,   XFontSet
19              font_set,  GC  gc,  int  x,  int  y,  _Xconst  char *string, int
20              num_bytes);
21

ARGUMENTS

23       d         Specifies the drawable.
24
25       display   Specifies the connection to the X server.
26
27       font_set  Specifies the font set.
28
29       gc        Specifies the GC.
30
31       num_bytes Specifies the number of bytes in the string argument.
32
33       num_wchars
34                 Specifies the number of characters in the string argument.
35
36       string    Specifies the character string.
37
38       x
39       y         Specify the x and y coordinates.
40

DESCRIPTION

42       The  XmbDrawImageString,  XwcDrawImageString  and  Xutf8DrawImageString
43       functions  fill  a  destination rectangle with the background pixel de‐
44       fined in the GC and then paint the text with the foreground pixel.  The
45       filled rectangle is the rectangle returned to overall_logical_return by
46       XmbTextExtents, XwcTextExtents or Xutf8TextExtents for  the  same  text
47       and XFontSet.
48
49       When  the  XFontSet has missing charsets, each unavailable character is
50       drawn with the default string returned by XCreateFontSet.  The behavior
51       for an invalid codepoint is undefined.
52
53       The function Xutf8TextExtents is an extension introduced by The XFree86
54       Project, Inc., in their 4.0.2 release.  Its presence  is  indicated  by
55       the macro X_HAVE_UTF8_STRING.
56

SEE ALSO

58       XDrawImageString(3),  XDrawString(3),  XDrawText(3),  XmbDrawString(3),
59       XmbDrawText(3)
60       Xlib - C Language X Interface
61
62
63
64X Version 11                     libX11 1.8.7            XmbDrawImageString(3)
Impressum