Changeset 3563 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Jan 29, 2009, 10:26:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/graphexecut.cc
r3551 r3563 87 87 for(unsigned int kt=1; kt<tokens.size(); kt++) { opts += ' '; opts += tokens[kt]; } 88 88 if (mImgApp) mImgApp->SetDefaultAxesAttributes(opts); 89 } 90 else if (kw == "setdefafsz") { 91 if (tokens.size() < 1) { cout << "Usage: setdefafsz " << endl; return(0); } 92 double fsz = atof(tokens[0].c_str()); 93 PIDrawer::SetGlDefAutoFontSizeFrac(fsz); 94 cout << " setdefafsz: PIDrawer Global Default AutoFontSize fraction set to " 95 << PIDrawer::GetGlDefAutoFontSizeFrac() << endl; 89 96 } 90 97 else if (kw == "setinsetlimits") { … … 491 498 mpiac->RegisterCommand(kw, usage, this, grp); 492 499 500 kw = "setdefafsz"; 501 usage = "Define the Global Default value for PIDrawer AutoFontSize Fraction \n"; 502 usage += " Usage: setdefafsz value \n"; 503 usage += " 0<value<1 : default PIDrawer font size, as a fraction of the widget size\n"; 504 usage += " Its value can be set by the PIDEFAFSZFRAC environment variable \n"; 505 usage += " See also graphic attributes : fixedfontsize autofontsize=frac "; 506 mpiac->RegisterCommand(kw, usage, this, grp); 507 493 508 kw = "setinsetlimits"; 494 509 usage = "Define the display rectangle for drawers added as insets \n";
Note:
See TracChangeset
for help on using the changeset viewer.