Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for xmtextgetcenterline (redhat section 3)

XmTextGetCenterline(library call)				XmTextGetCenterline(library call)

NAME
       XmTextGetCenterline  --	Return the height (length) of a character string when the writing
       direction is vertical

SYNOPSIS
       #include <Xm/Text.h>
       int XmTextGetCenterline(
       Widget widget);

DESCRIPTION
       XmTextGetCenterline accesses the x position of the centerline in the Text widget, relative
       to the x position of the top of the widget.

       widget	 Specifies the Text widget ID.

RETURN VALUE
       In the case of horizontal writing, this function accesses 0.

       In  the	case of vertical writing, this function accesses the x position of the first cen-
       terline 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.

SEE ALSO
       XmText(3), XmTextGetBaseline(3)

								XmTextGetCenterline(library call)


All times are GMT -4. The time now is 09:38 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password