pandorafms/pandora_console/include/styles/cb/lib/xlinearscale.xml

66 lines
1.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<xlib_symbol id='xLinearScale'>
<name>xLinearScale</name>
<copyright>Copyright 2001-2005 Michael Foster (Cross-Browser.com)</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>
<groups>
<grp>Math</grp>
</groups>
<type>Function</type>
<description><![CDATA[Get a scaled value]]></description>
<syntax>xLinearScale(value, inMin, inMax, outMin, outMax)</syntax>
<parameters>
<par>
<name>value</name>
<note><![CDATA[]]></note>
</par>
<par>
<name>inMin</name>
<note><![CDATA[]]></note>
</par>
<par>
<name>inMax</name>
<note><![CDATA[]]></note>
</par>
<par>
<name>outMin</name>
<note><![CDATA[]]></note>
</par>
<par>
<name>outMax</name>
<note><![CDATA[]]></note>
</par>
</parameters>
<return>the scaled value</return>
<demos>
<demo>
<url>http://cross-browser.com/x/examples/bargraph.html</url>
<note><![CDATA[xBar uses it]]></note>
</demo>
</demos>
<revisions>
<rev>
<num>2</num>
<date>16Mar05</date>
<author>mf</author>
<note><![CDATA[Reduced 53 bytes.]]></note>
</rev>
<rev>
<num>1</num>
<date>31Mar04</date>
<author>mf</author>
<note><![CDATA[put in it's own file for use with XC]]></note>
</rev>
</revisions>
</xlib_symbol>