mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/util/

mg_fontsize.pro


Routines

top mg_fontsize

result = mg_fontsize(s [, fontname=string])

Calculates the size of a string.

Return value

returns lonarr(2), i.e., [width, height]

Parameters

s in required type=string

string to determine the size of

Keywords

fontname in optional type=string

name of font to use for calculation

File attributes

Modification date: Thu May 29 14:12:05 2014
Lines: 11
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.