- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/graph/SC_Graph_Base.php
r22567 r22856 131 131 * @version $Id$ 132 132 */ 133 class SC_Graph_Base 133 class SC_Graph_Base 134 134 { 135 136 // {{{ properties137 138 135 var $arrRGB; 139 136 var $arrColor; … … 396 393 $this->arrLegend = array_values((array)$arrLegend); 397 394 } 398 399 // }}}400 // {{{ protected functions401 395 402 396 /** … … 459 453 $x = $cx + ($r * cos(deg2rad($s))); 460 454 $y = $cy - (($r * sin(deg2rad($s))) * ($ch / $cw)); 455 461 456 return array(round($x), round($y)); 462 457 } … … 480 475 } 481 476 $ret = imagecolorallocate($image, $array[0], $array[1], $array[2]); 477 482 478 return $ret; 483 479 } … … 498 494 } 499 495 $ret = imagecolorallocate($image, $dark[0], $dark[1], $dark[2]); 496 500 497 return $ret; 501 498 }
Note: See TracChangeset
for help on using the changeset viewer.