Blame doc/man/man3/XmTextGetCenterline.3

Packit b099d7
'\" t
Packit b099d7
...\" TxtGetCl.sgm /main/7 1996/10/02 11:49:21 cdedoc $
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 "XmTextGetCenterline" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmTextGetCenterline\fP \(em Return the height (length) of a character string
Packit b099d7
when the writing direction is vertical
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/Text\&.h>
Packit b099d7
\fBint \fBXmTextGetCenterline\fP\fR(
Packit b099d7
\fBWidget \fBwidget\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmTextGetCenterline\fP accesses the x position of the centerline in the
Packit b099d7
\fBText\fP widget, relative to the x position of the top of the widget\&.
Packit b099d7
.IP "\fIwidget\fP" 10
Packit b099d7
Specifies the \fBText\fP widget ID\&.
Packit b099d7
.SH "RETURN VALUE"
Packit b099d7
.PP
Packit b099d7
In the case of horizontal writing, this function accesses 0\&.
Packit b099d7
.PP
Packit b099d7
In the case of vertical writing, this function accesses the
Packit b099d7
x position of the first centerline in the Text widget,
Packit b099d7
relative to the x position of the left of the widget\&.
Packit b099d7
The calculation takes into account the margin width, shadow
Packit b099d7
thickness, highlight thickness, and a half of font width of
Packit b099d7
the first font(set) in the fontlist used for drawing text\&.
Packit b099d7
.SH "SEE ALSO"
Packit b099d7
.PP
Packit b099d7
\fBXmText\fP(3), \fBXmTextGetBaseline\fP(3)
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:35