MirOS Manual: XTextWidth(3), XTextWidth16(3)


XTextWidth(3X11)         XLIB FUNCTIONS          XTextWidth(3X11)

NAME

     XTextWidth, XTextWidth16 - compute text width

SYNTAX

     int XTextWidth(XFontStruct *font_struct, char *string, int
          count);

     int XTextWidth16(XFontStruct *font_struct, XChar2b *string,
          int count);

ARGUMENTS

     count     Specifies the character count in the specified
               string.

     font_struct
               Specifies the font used for the width computation.

     string    Specifies the character string.

DESCRIPTION

     The XTextWidth and XTextWidth16 functions return the width
     of the specified 8-bit or 2-byte character strings.

SEE ALSO

     XLoadFont(3X11), XTextExtents(3X11)
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.