1XmTextGetCenterline(library call) XmTextGetCenterline(library call)
2
3
4
6 XmTextGetCenterline — Return the height (length) of a character string
7 when the writing direction is vertical
8
10 #include <Xm/Text.h>
11 int XmTextGetCenterline(
12 Widget widget);
13
15 XmTextGetCenterline accesses the x position of the centerline in the
16 Text widget, relative to the x position of the top of the widget.
17
18 widget Specifies the Text widget ID.
19
21 In the case of horizontal writing, this function accesses 0.
22
23 In the case of vertical writing, this function accesses the x position
24 of the first centerline in the Text widget, relative to the x position
25 of the left of the widget. The calculation takes into account the mar‐
26 gin width, shadow thickness, highlight thickness, and a half of font
27 width of the first font(set) in the fontlist used for drawing text.
28
30 XmText(3), XmTextGetBaseline(3)
31
32
33
34 XmTextGetCenterline(library call)