FreeBSD Manual Pages
XmTextGetBaseline(3) Library Functions Manual XmTextGetBaseline(3) NAME XmTextGetBaseline -- A Text function that accesses the y position of the baseline SYNOPSIS #include <Xm/Text.h> int XmTextGetBaseline( Widget widget); DESCRIPTION XmTextGetBaseline accesses the y position of the baseline in the Text widget, relative to the y position of the top of the widget. In vertical mode (when the XmNlayoutDirection resource is XmTOP_TO_BOT- TOM) this function returns 0 and the program should use XmTextGetCen- terline widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see Xm- Text(3). RETURN Returns an integer value that indicates the y position of the baseline in the Text widget. The calculation takes into account the margin height, shadow thickness, highlight thickness, and font ascent of the first font (set) in the fontlist used for drawing text. In this calcu- lation, the y position of the top of the widget is 0 (zero). RELATED XmText(3), XmTextGetCenterline(3). XmTextGetBaseline(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN | RELATED
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmTextGetBaseline&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>