Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmStringCreate(3X)

XmStringCreateSimple(3X)

XmStringHeight(3X)  —  MISCELLANEOUS LIBRARY FUNCTIONS

NAME

XmStringHeight — a compound string function that returns the line height of the given compound string.

SYNOPSIS

#include <Xm/Xm.h> Dimension XmStringHeight (fontlist, string)
XmFontListfontlist;
XmStringstring;

DESCRIPTION

XmStringHeight returns the height, in pixels, of the sum of all the line heights of the given compound string.  Separator components delimit lines. 

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. 

fontlistSpecifies the font list

stringSpecifies the string

RETURN VALUE

Returns the height of the specified string. 

RELATED INFORMATION

XmStringCreate(3X) and XmStringCreateSimple(3X). 

Sun Release 4.0  —  Last change:

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