xref: /386bsd/usr/X386/man/man3/XmbDrawImageString.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

XmbDrawImageString 3X11 "Release 5" "X Version 11" "XLIB FUNCTIONS"
NAME
XmbDrawImageString, XwcDrawImageString - draw image text using a single font set
SYNTAX
void XmbDrawImageString\^(\^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 XwcDrawImageString\^(\^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 XmbDrawImageString and .ZN XwcDrawImageString fill a destination rectangle with the background pixel defined in the GC and then paint the text with the foreground pixel. The filled rectangle is the rectangle returned to overall_logical_return by .ZN XmbTextExtents or .ZN XwcTextExtents for the same text and .ZN XFontSet .

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"
XDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11), XmbDrawString(3X11), XmbDrawText(3X11)

\*(xL