XmStringExtent(3X)

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

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

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

     SYNOPSIS
          #include <Xm/Xm.h>

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


     VERSION
          This page documents version 1.2 of the Motif library.

     DESCRIPTION
          XmStringExtent determines the width and height, in pixels,
          of the smallest 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


     RELATED INFORMATION
          XmStringCreate(3X).