Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStriExt(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmStringExtent(Xm)             6 January 1993             XmStringExtent(Xm)


 Name

    XmStringExtent - a compound string function that determines the size of
    the smallest rectangle that will enclose the compound string

 Syntax


    #include <Xm/Xm.h>

    void XmStringExtent (fontlist, string, width, height)
    XmFontList fontlist;
    XmString string;
    Dimension *width;
    Dimension *height;


 Description

    XmStringExtent determines the width and height, in pixels, of the small-
    est rectangle that will enclose the provided compound string.

    fontlist
            Specifies the font list

    string  Specifies the string

    width   Specifies a pointer to the width of the rectangle

    height  Specifies a pointer to the height of the rectangle

 See also

    XmStringCreate(Xm)


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