*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmTextGetCenterline (3)              
Title
Content
Arch
Section
 

Contents


 XmTextGetCenterline(library call)         XmTextGetCenterline(library call)




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

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

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      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 centerline 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    [Toc]    [Back]
      XmText(3), XmTextGetBaseline(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
len IRIX return length of Fortran string
len IRIX return length of Fortran string
len Tru64 return length of Fortran string
strcspn Tru64 Return length of initial segment of string
strspn Tru64 Return length of initial segment of string
wcslen Linux determine the length of a wide-character string
wcslen Tru64 Find length of wide-character string
wcsnlen Linux determine the length of a fixed-size wide-character string
getheight IRIX returns the maximum character height in the current raster font
XmStringHeight HP-UX A compound string function that returns the line height of the given compound string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service