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

NAME

6       XmbDrawImageString,  XwcDrawImageString,  Xutf8DrawImageString  -  draw
7       image 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, char *string, int num_bytes);
12
13       void   XwcDrawImageString(Display   *display,   Drawable   d,  XFontSet
14              font_set, GC gc, int x, int y, wchar_t *string, int num_wchars);
15
16       void  Xutf8DrawImageString(Display  *display,  Drawable   d,   XFontSet
17              font_set, GC gc, int x, int y, 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  XmbDrawImageString,  XwcDrawImageString  and  Xutf8DrawImageString
40       functions fill  a  destination  rectangle  with  the  background  pixel
41       defined  in  the  GC and then paint the text with the foreground pixel.
42       The  filled  rectangle  is  the  rectangle  returned  to  overall_logi‐
43       cal_return  by  XmbTextExtents,  XwcTextExtents or Xutf8TextExtents for
44       the same text and XFontSet.
45
46       When the XFontSet has missing charsets, each unavailable  character  is
47       drawn with the default string returned by XCreateFontSet.  The behavior
48       for an invalid codepoint is undefined.
49
50       The function Xutf8TextExtents is an extension introduced by The XFree86
51       Project,  Inc.,  in  their 4.0.2 release.  Its presence is indicated by
52       the macro X_HAVE_UTF8_STRING.
53

SEE ALSO

55       XDrawImageString(3),  XDrawString(3),  XDrawText(3),  XmbDrawString(3),
56       XmbDrawText(3)
57       Xlib - C Language X Interface
58
59
60
61X Version 11                     libX11 1.6.9            XmbDrawImageString(3)
Impressum