Blob Blame History Raw
'\" t
...\" TxtGetCl.sgm /main/7 1996/10/02 11:49:21 cdedoc $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmTextGetCenterline" "library call"
.SH "NAME"
\fBXmTextGetCenterline\fP \(em Return the height (length) of a character string
when the writing direction is vertical
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Text\&.h>
\fBint \fBXmTextGetCenterline\fP\fR(
\fBWidget \fBwidget\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmTextGetCenterline\fP accesses the x position of the centerline in the
\fBText\fP widget, relative to the x position of the top of the widget\&.
.IP "\fIwidget\fP" 10
Specifies the \fBText\fP widget ID\&.
.SH "RETURN VALUE"
.PP
In the case of horizontal writing, this function accesses 0\&.
.PP
In the case of vertical writing, this function accesses the
x position of the first centerline in the Text widget,
relative to the x position of the left of the widget\&.
The calculation takes into account the margin width, shadow
thickness, highlight thickness, and a half of font width of
the first font(set) in the fontlist used for drawing text\&.
.SH "SEE ALSO"
.PP
\fBXmText\fP(3), \fBXmTextGetBaseline\fP(3)
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:35