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

NAME

6       XmbDrawString,  XwcDrawString, Xutf8DrawString - draw text using a sin‐
7       gle font set
8

SYNTAX

10       void XmbDrawString(Display *display, Drawable d, XFontSet font_set,  GC
11              gc, int x, int y, _Xconst char *string, int num_bytes);
12
13       void  XwcDrawString(Display *display, Drawable d, XFontSet font_set, GC
14              gc, int x, int y, _Xconst wchar_t *string, int num_wchars);
15
16       void Xutf8DrawString(Display *display, Drawable d,  XFontSet  font_set,
17              GC gc, int x, int y, _Xconst char *string, int num_bytes);
18

ARGUMENTS

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

DESCRIPTION

39       The XmbDrawString, XwcDrawString and Xutf8DrawString functions draw the
40       specified text with the foreground pixel.  When the XFontSet has  miss‐
41       ing  charsets,  each  unavailable  character  is drawn with the default
42       string returned by XCreateFontSet.  The behavior for an  invalid  code‐
43       point is undefined.
44
45       The  function Xutf8DrawString is an extension introduced by The XFree86
46       Project, Inc., in their 4.0.2 release.  Its presence  is  indicated  by
47       the macro X_HAVE_UTF8_STRING.
48

SEE ALSO

50       XDrawImageString(3),     XDrawString(3),    XDrawText(3),    XmbDrawIm‐
51       ageString(3), XmbDrawText(3)
52       Xlib - C Language X Interface
53
54
55
56X Version 11                     libX11 1.6.12                XmbDrawString(3)
Impressum