Home > ISET > gui > ieFontChangeSize.m

ieFontChangeSize

PURPOSE ^

Change the font size used in all ISET windows

SYNOPSIS ^

function dSize = ieFontChangeSize(fig,dSize)

DESCRIPTION ^

Change the font size used in all ISET windows

       dSize = ieFontChangeSize(fig,[changeSize])

  The font sizes of all the text items in the ISET figures are changed.
  This routine is used by pull downs in many windows and also on
  startup. The font preference information is stored using the Matlab
  setpref/getpref mechanism in ieSessionGet/Set.  Hence, the size is
  remembered across sessions (or installs of ISET).

  The Matlab preferences are checked when a window opens.  The
  preferences are applied to the window.  Hence, the preferences are
  transferred between windows.

  The change size is limited to   -6 and 6.
  The total change is limited to -12 and 12.
  The smallest point size is limited to 6pt on windows and 10pt on
  linux.
  There is no upper limit on the max point size.

 Example:
   ieFontChangeSize(ieSessionGet('oifigure'),ieSessionGet('increasefontsize'));

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003