Blame doc/man/man3/XmStringDraw.3

Packit b099d7
'\" t
Packit b099d7
...\" StrDrA.sgm /main/8 1996/09/08 21:04:18 rws $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "XmStringDraw" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmStringDraw\fP \(em A compound string function that draws a compound string in an X window
Packit b099d7
.iX "XmStringDraw"
Packit b099d7
.iX "compound string functions" "XmStringDraw"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/Xm\&.h>
Packit b099d7
\fBvoid \fBXmStringDraw\fP\fR(
Packit b099d7
\fBDisplay \fB* d\fR\fR,
Packit b099d7
\fBWindow \fBw\fR\fR,
Packit b099d7
\fBXmRenderTable \fBrendertable\fR\fR,
Packit b099d7
\fBXmString \fBstring\fR\fR,
Packit b099d7
\fBGC \fBgc\fR\fR,
Packit b099d7
\fBPosition \fBx\fR\fR,
Packit b099d7
\fBPosition \fBy\fR\fR,
Packit b099d7
\fBDimension \fBwidth\fR\fR,
Packit b099d7
\fBunsigned char \fBalignment\fR\fR,
Packit b099d7
\fBunsigned char \fBlayout_direction\fR\fR,
Packit b099d7
\fBXRectangle \fB* clip\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmStringDraw\fP draws a compound string in an X Window\&.
Packit b099d7
If a compound string segment uses a
Packit b099d7
rendition
Packit b099d7
that
Packit b099d7
contains
Packit b099d7
a font set, the graphic context passed to this
Packit b099d7
routine will have the GC font member left in an undefined
Packit b099d7
state\&. The underlying \fBXmbStringDraw\fP function called
Packit b099d7
by this routine modifies the font ID field of the GC passed
Packit b099d7
into it and does not attempt to restore the font ID to the
Packit b099d7
incoming value\&. If the compound string segment is not drawn
Packit b099d7
using a font set, the graphic context must contain a valid font
Packit b099d7
member\&. Graphic contexts created by \fBXtGetGC\fP are not
Packit b099d7
valid for this routine; instead, use \fBXtAllocateGC\fP
Packit b099d7
to create a graphic context\&.
Packit b099d7
.IP "\fId\fP" 10
Packit b099d7
Specifies the display\&.
Packit b099d7
.IP "\fIw\fP" 10
Packit b099d7
Specifies the window\&.
Packit b099d7
.IP "\fIrendertable\fP" 10
Packit b099d7
Specifies the render table\&.
Packit b099d7
.IP "\fIstring\fP" 10
Packit b099d7
Specifies the string\&.
Packit b099d7
.IP "\fIgc\fP" 10
Packit b099d7
Specifies the graphics context to use\&.
Packit b099d7
.IP "\fIx\fP" 10
Packit b099d7
Specifies a coordinate of the rectangle that will contain the displayed
Packit b099d7
compound string\&.
Packit b099d7
.IP "\fIy\fP" 10
Packit b099d7
Specifies a coordinate of the rectangle that will contain the displayed
Packit b099d7
compound string\&.
Packit b099d7
.IP "\fIwidth\fP" 10
Packit b099d7
Specifies the width of the rectangle that will contain the
Packit b099d7
displayed compound string\&.
Packit b099d7
.IP "\fIalignment\fP" 10
Packit b099d7
Specifies how the string will be aligned within the specified rectangle\&.
Packit b099d7
It is either \fBXmALIGNMENT_BEGINNING\fP, \fBXmALIGNMENT_CENTER\fP, or
Packit b099d7
\fBXmALIGNMENT_END\fP\&.
Packit b099d7
.IP "\fIlayout_direction\fP" 10
Packit b099d7
Controls the direction in which the segments of the compound string will
Packit b099d7
be laid out\&. It also determines the meaning of the \fIalignment\fP parameter\&.
Packit b099d7
.IP "\fIclip\fP" 10
Packit b099d7
Allows the application to restrict the area into which the compound string
Packit b099d7
will be drawn\&.
Packit b099d7
If the value is NULL, clipping will be determined by the GC\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmStringCreate\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:31