XDrawText(3X) — X Version 11
NAME
XDrawText, XDrawText16 − draw polytext text
SYNTAX
XDrawText(display, d, gc, x, y, items, nitems)
Display ∗display;
Drawable d;
GC gc;
int x, y;
XTextItem ∗items;
int nitems;
XDrawText16(display, d, gc, x, y, items, nitems)
Display ∗display;
Drawable d;
GC gc;
int x, y;
XTextItem16 ∗items;
int nitems;
ARGUMENTS
dSpecifies the drawable.
displaySpecifies the connection to the X server.
gcSpecifies the graphics context.
itemsSpecifies a pointer to an array of text items.
nitemsSpecifies the number of text items in the array.
x
ySpecify the x and y coordinates.
DESCRIPTION
The XDrawText and XDrawText16 functions draw 8-bit and 16-bit polytext characters in the specified drawable. .PN XDrawText and .PN XDrawText16 can generate BadDrawable, BadFont, BadGC, and BadMatch errors.
DIAGNOSTICS
BadDrawable
A value for a Drawable argument does not name a defined Window or Pixmap.
BadFont A value for a Font or GContext argument does not name a defined Font.
BadGC A value for a GContext argument does not name a defined GContext.
BadMatch An InputOnly window is used as a Drawable.
SEE ALSO
XDrawImageString(3X), XDrawString(3X)
Xlib − C Language X Interface
1 March 1988