[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * UnitConversions 5 * 6 * @package Less 7 * @subpackage tree 8 */ 9 class Less_Tree_UnitConversions{ 10 11 public static $groups = array('length','duration','angle'); 12 13 public static $length = array( 14 'm'=> 1, 15 'cm'=> 0.01, 16 'mm'=> 0.001, 17 'in'=> 0.0254, 18 'px'=> 0.000264583, // 0.0254 / 96, 19 'pt'=> 0.000352778, // 0.0254 / 72, 20 'pc'=> 0.004233333, // 0.0254 / 72 * 12 21 ); 22 23 public static $duration = array( 24 's'=> 1, 25 'ms'=> 0.001 26 ); 27 28 public static $angle = array( 29 'rad' => 0.1591549430919, // 1/(2*M_PI), 30 'deg' => 0.002777778, // 1/360, 31 'grad'=> 0.0025, // 1/400, 32 'turn'=> 1 33 ); 34 35 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |