Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStringExt(3X) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmStringExtent(3X)               UNIX System V               XmStringExtent(3X)


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;


DESCRIPTION
      XmStringExtent determines the width and height, in pixels, of the
      smallest rectangle that will enclose the provided compound string.

      When string has been created with XmStringCreateSimple, the font
      associated with the character set derived from the current language
      environment must appear at the front of fontlist.  Otherwise, the result
      of the function is undefined.


     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) and XmStringCreateSimple(3X).

















10/89                                                                    Page 1





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