XmStringExtent(X3mot)


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) XmFontList fontlist; 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.

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

References

XmStringCreate(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004