1XmTextGetBaseline(library call)                XmTextGetBaseline(library call)
2
3
4

NAME

6       XmTextGetBaseline — A Text function that accesses the y position of the
7       baseline
8

SYNOPSIS

10       #include <Xm/Text.h>
11       int XmTextGetBaseline(
12       Widget widget);
13

DESCRIPTION

15       XmTextGetBaseline accesses the y position of the baseline in  the  Text
16       widget, relative to the y position of the top of the widget.
17
18       In vertical mode (when the XmNlayoutDirection resource is XmTOP_TO_BOT‐
19       TOM) this function returns 0 and the program should  use  XmTextGetCen‐
20       terline
21
22       widget    Specifies the Text widget ID
23
24       For  a  complete  definition  of Text and its associated resources, see
25       XmText(3).
26

RETURN

28       Returns an integer value that indicates the y position of the  baseline
29       in  the  Text  widget.   The  calculation takes into account the margin
30       height, shadow thickness, highlight thickness, and font ascent  of  the
31       first font (set) in the fontlist used for drawing text.  In this calcu‐
32       lation, the y position of the top of the widget is 0 (zero).
33
35       XmText(3), XmTextGetCenterline(3).
36
37
38
39                                               XmTextGetBaseline(library call)
Impressum