.\
cgdefcharsize.pro
top cgDefCharSize
Graphics, Utilities
result = cgDefCharSize( [/ADJUSTSIZE] [, FONT=integer])
Defines a default character size for Coyote Graphics routines (cgPlot, cgContour, etc.) IF !P.Charsize is set, the function simply returns !P.Charsize.
Keywords
- ADJUSTSIZE in optional type=boolean default=0
If this keyword is set, the output character size is adjusted to fit the size of the output graphics window. No adjustment is ever done in PostScript. Applies only when !P.Charsize=0.
- FONT in optional type=integer default=!P.Font
The font type: -1 = Hershey, 0 = hardware, 1 = true-type.
Author information
- Author:
FANNING SOFTWARE CONSULTING:
David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com- Copyright:
Copyright (c) 2011, Fanning Software Consulting, Inc.
- History:
Change History:
Written, 11 January 2011. DWF. Added an ADJUSTSIZE keyword to allow adjustable sizing of characters in resizeable graphics windows. 24 April 2011. DWF. Made sure this program only adjusts text size on devices that support windows. 20 July 2011. DWF.
File attributes
| Modification date: | Tue Jul 17 09:13:10 2012 |
| Lines: | 178 |
| Docformat: | rst rst |