GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       XmTextGetBaseline — A Text function that accesses the y position of the
       baseline "XmTextGetBaseline" "Text functions" "XmTextGetBaseline"

SYNOPSIS

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

DESCRIPTION

       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

       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

       XmText(3), XmTextGetCenterline(3).

                                                          XmTextGetBaseline(3)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.248 seconds. Last modified: November 04 2018 12:49:43.