Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmbTEsc(XS) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmbTextExtents(XS)

XmbTextPerCharExtents(XS)


 XmbTextEscapement(XS)    X Version 11 (Release 5)      XmbTextEscapement(XS)
                                6 January 1993


 Name

    XmbTextEscapement - obtain the escapement of text

 Syntax


    int XmbTextEscapement(font_set, string, num_bytes)
          XFontSet font_set;
          char *string;
          int num_bytes;

    int XwcTextEscapement(font_set, string, num_wchars)
          XFontSet font_set;
          wchar_t *string;
          int num_wchars;


 Arguments


    fontset     Specifies the font set.

    numbytes    Specifies the number of bytes in the string argument.

    numwchars   Specifies the number of characters in the string argument.

    string       Specifies the character string.

 Description

    The XmbTextEscapement and XwcTextEscapement functions return the escape-
    ment in pixels of the specified string as a value, using the fonts loaded
    for the specified font set.  The escapement is the distance in pixels in
    the primary draw direction from the drawing origin to the origin of the
    next character to be drawn, assuming that the rendering of the next char-
    acter is not dependent on the supplied string.

    Regardless of the character rendering order, the escapement is always
    positive.

 See also

    XmbTextExtents(XS), XmbTextPerCharExtents(XS)
    Xlib - C Language X Interface


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026