xref: /386bsd/usr/X386/man/man3/XmbDrawString.3x (revision a2142627)
.\\$1D \\$2 \\$1
.ps \\n(PS
.if \\n(VS>=40 .vs \\n(VSu
.if \\n(VS<=39 .vs \\n(VSp
..

0 .nr BD 0

..

.KS .TA .5i 3i

..
.KE

.. .. .KS

.D

choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...

.. .R .. .. .. .TB

\\*(NO .R .. . \" Note End -- doug kraft 3/85

0 .. .ny0

XmbDrawString 3X11 "Release 5" "X Version 11" "XLIB FUNCTIONS"
NAME
XmbDrawString, XwcDrawString - draw text using a single font set
SYNTAX
void XmbDrawString\^(\^display\^, d\^, font_set\^, gc\^, x\^, y\^, string\^, num_bytes\^)

Display *display\^;

Drawable d\^;

XFontSet font_set\^;

GC gc\^;

int x\^, y\^;

char *string\^;

int num_bytes\^;

void XwcDrawString\^(\^display\^, d\^, font_set\^, gc\^, x\^, y\^, string\^, num_wchars\^)

Display *display\^;

Drawable d\^;

XFontSet font_set\^;

GC gc\^;

int x\^, y\^;

wchar_t *string\^;

int num_wchars\^;

ARGUMENTS
$Header: d.a,v 1.1 88/02/26 10:04:25 mento Exp $
d 1i
Specifies the drawable. $Header: display.a,v 1.1 88/02/26 10:26:29 mento Exp $
display 1i
Specifies the connection to the X server. $Header: fontset.a,v 1.2 88/05/09 14:28:06 mento Exp $
font_set 1i
Specifies the font set. $Header: gc.a,v 1.2 88/05/09 11:20:34 mento Exp $
gc 1i
Specifies the GC.
num_bytes 1i
Specifies the number of bytes in the string argument.
num_wchars 1i
Specifies the number of characters in the string argument. $Header: string.a,v 1.1 88/02/26 10:31:32 mento Exp $
string 1i
Specifies the character string. $Header: xy_gen.a,v 1.2 88/08/04 11:22:37 mento Exp $
x 1i

.ns

y 1i
Specify the x and y coordinates\*(Xy.
DESCRIPTION
.ZN XmbDrawString and .ZN XwcDrawString draw the specified text with the foreground pixel. When the .ZN XFontSet has missing charsets, each unavailable character is drawn with the default string returned by .ZN XCreateFontSet . The behavior for an invalid codepoint is undefined.
"SEE ALSO"
XXDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11), XmbDrawImageString(3X11), XmbDrawText(3X11)

\*(xL