summaryrefslogtreecommitdiff
path: root/man/XmbDrawString.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XmbDrawString.man')
-rw-r--r--man/XmbDrawString.man36
1 files changed, 31 insertions, 5 deletions
diff --git a/man/XmbDrawString.man b/man/XmbDrawString.man
index 9d1fe1e4..c02047ba 100644
--- a/man/XmbDrawString.man
+++ b/man/XmbDrawString.man
@@ -1,4 +1,5 @@
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
+.\" Copyright \(co 2000 The XFree86 Project, Inc.
.\"
.\" Permission is hereby granted, free of charge, to any person obtaining
.\" a copy of this software and associated documentation files (the
@@ -39,6 +40,8 @@
.\" Digital and Tektronix makes no representations about the suitability
.\" of this documentation for any purpose.
.\" It is provided ``as is'' without express or implied warranty.
+.\"
+.\" $XFree86: xc/doc/man/X11/XmbDStr.man,v 1.4 2002/04/30 16:45:02 tsi Exp $
.\"
.ds xT X Toolkit Intrinsics \- C Language Interface
.ds xW Athena X Widgets \- C Language X Toolkit Interface
@@ -138,9 +141,9 @@
.el .sp 10p
..
.ny0
-.TH XmbDrawString 3X11 "Release 6.6" "X Version 11" "XLIB FUNCTIONS"
+.TH XmbDrawString 3X11 __xorgversion__ "XLIB FUNCTIONS"
.SH NAME
-XmbDrawString, XwcDrawString \- draw text using a single font set
+XmbDrawString, XwcDrawString, Xutf8DrawString \- draw text using a single font set
.SH SYNTAX
void XmbDrawString\^(\^\fIdisplay\fP\^, \fId\fP\^, \fIfont_set\fP\^, \fIgc\fP\^, \fIx\fP\^, \fIy\fP\^, \fIstring\fP\^, \fInum_bytes\fP\^)
.br
@@ -173,6 +176,22 @@ void XwcDrawString\^(\^\fIdisplay\fP\^, \fId\fP\^, \fIfont_set\fP\^, \fIgc\fP\^,
wchar_t *\fIstring\fP\^;
.br
int \fInum_wchars\fP\^;
+.LP
+void Xutf8DrawString\^(\^\fIdisplay\fP\^, \fId\fP\^, \fIfont_set\fP\^, \fIgc\fP\^, \fIx\fP\^, \fIy\fP\^, \fIstring\fP\^, \fInum_bytes\fP\^)
+.br
+ Display *\fIdisplay\fP\^;
+.br
+ Drawable \fId\fP\^;
+.br
+ XFontSet \fIfont_set\fP\^;
+.br
+ GC \fIgc\fP\^;
+.br
+ int \fIx\fP\^, \fIy\fP\^;
+.br
+ char *\fIstring\fP\^;
+.br
+ int \fInum_bytes\fP\^;
.SH ARGUMENTS
.IP \fId\fP 1i
Specifies the drawable.
@@ -196,9 +215,10 @@ Specifies the character string.
Specify the x and y coordinates\*(Xy.
.SH DESCRIPTION
The
-.ZN XmbDrawString
-and
+.ZN XmbDrawString ,
.ZN XwcDrawString
+and
+.ZN Xutf8DrawString
functions draw the specified text with the foreground pixel.
When the
.ZN XFontSet
@@ -206,8 +226,14 @@ has missing charsets, each unavailable character is drawn
with the default string returned by
.ZN XCreateFontSet .
The behavior for an invalid codepoint is undefined.
+.LP
+The function
+.ZN Xutf8DrawString
+is an XFree86 extension introduced in XFree86 4.0.2. Its presence is
+indicated by the macro
+.ZN X_HAVE_UTF8_STRING .
.SH "SEE ALSO"
-XXDrawImageString(3X11),
+XDrawImageString(3X11),
XDrawString(3X11),
XDrawText(3X11),
XmbDrawImageString(3X11),