Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmStringCreate(3XM)

XmStringCreateSimple(3XM)

XmStringBaseline(3XM)  —  NEWS-OS Programmer’s Manual

NAME

XmStringBaseline — a compound string function that returns the number of pixels between the top of the character box and the baseline of the first line of text.

SYNOPSIS

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

DESCRIPTION

XmStringBaseline returns the number of pixels between the top of the character box and the baseline of the first line of text in 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. 

fontlistSpecifies the font list

stringSpecifies the string

RETURN VALUE

Returns the number of pixels between the top of the character box and the baseline of the first line of text. 

RELATED INFORMATION

XmStringCreate(3XM) and XmStringCreateSimple(3XM). 

NEWS-OSRelease 4.1C

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