Source for file analogclock.php

Documentation is available at analogclock.php

  1. <?php
  2. require_once('../Graph.class.php');
  3.  
  4. Graph::importObject('AnalogClock');
  5.  
  6. $graph new Graph(150150);
  7. $graph->type 'png';
  8. $graph->transparent true;
  9.  
  10. $ora new AnalogClock(74,mktime(7,10,30));
  11. $ora->$graph->width-$ora->width/2;
  12. $ora->$graph->height-$ora->height/2;
  13. $ora->background $ora->createColor(0,0,130);
  14. $ora->transparent true;
  15.  
  16. $graph->add($ora);
  17.  
  18. //$graph->saveClient('analogclock.png');
  19. $graph->flush();
  20. //$graph->save('analogclock.png');
  21.  
  22. ?>

Documentation generated on Tue, 09 Feb 2010 01:17:46 +0100 by phpDocumentor 1.4.1