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

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

Contents


 XmTextGetBaseline(library call)             XmTextGetBaseline(library call)




 NAME    [Toc]    [Back]
      XmTextGetBaseline - A Text function that accesses the y position of
      the baseline

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

 DESCRIPTION    [Toc]    [Back]
      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_BOTTOM) this function returns 0 and the program should use
      XmTextGetCenterline

      widget    Specifies the Text widget ID

      For a complete definition of Text and its associated resources, see
      XmText(3).

 RETURN    [Toc]    [Back]
      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
      calculation, the y position of the top of the widget is 0 (zero).

 RELATED    [Toc]    [Back]
      XmText(3), XmTextGetCenterline(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmTextGetBaseline Tru64 A Text function that accesses the x position of the first baseline
XmTextGetBaseline IRIX A Text function that accesses thex position of the first baseline
XmTextFieldGetBaseline HP-UX A TextField function that accesses the y position of the baseline
XmTextFieldGetBaseline Tru64 A TextField function that accesses the x position of the first baseline
XmTextFieldGetBaseline IRIX A TextField function that accesses thex position of the first baseline
XmTextXYToPos Tru64 A Text function that accesses the character position nearest an x and y position
XmTextXYToPos IRIX A Text function that accesses the character position nearest an x and y position
XmTextXYToPos HP-UX A Text function that accesses the character position nearest an x and y position
XmTextPosToXY HP-UX A Text function that accesses the x and y position of a character position
XmTextPosToXY Tru64 A Text function that accesses the x and y position of a character position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service