XDrawString(3) | Library Functions Manual | XDrawString(3) |
int XDrawString(Display *display, Drawable d, GC gc, int x, int y, char *string, int length);
int XDrawString16(Display *display, Drawable d, GC gc, int x, int y, XChar2b *string, int length);
Both functions use these GC components: function, plane-mask, fill-style, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. They also use these GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin.
XDrawString and XDrawString16 can generate BadDrawable, BadGC, and BadMatch errors.
X Version 11 | XLIB FUNCTIONS |