summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/web/example.drawFilledCircle.php
diff options
context:
space:
mode:
authorRefik Hadzialic2011-09-07 21:08:30 +0200
committerRefik Hadzialic2011-09-07 21:08:30 +0200
commitd914343f60f3b673b0b06dbd26f3bbc710d58f96 (patch)
tree77bde4d26347424efd902131a8186a9874760d21 /notFinishedCode/web/example.drawFilledCircle.php
parentAdded new icons, changed code! (diff)
downloadgsm-selftest-d914343f60f3b673b0b06dbd26f3bbc710d58f96.tar.gz
gsm-selftest-d914343f60f3b673b0b06dbd26f3bbc710d58f96.tar.xz
gsm-selftest-d914343f60f3b673b0b06dbd26f3bbc710d58f96.zip
Changed some cases!
Diffstat (limited to 'notFinishedCode/web/example.drawFilledCircle.php')
-rw-r--r--notFinishedCode/web/example.drawFilledCircle.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/notFinishedCode/web/example.drawFilledCircle.php b/notFinishedCode/web/example.drawFilledCircle.php
index e8e09a0..ccaa06f 100644
--- a/notFinishedCode/web/example.drawFilledCircle.php
+++ b/notFinishedCode/web/example.drawFilledCircle.php
@@ -192,17 +192,17 @@
/* Turn on shadow computing */
$myPicture->setShadow(TRUE,array("X"=>1,"Y"=>1,"R"=>0,"G"=>0,"B"=>0,"Alpha"=>20));
/* Draw a PNG object */
- $myPicture->drawFromPNG(393,150,$LANDLINECOL);
+ $myPicture->drawFromPNG(393,147,$LANDLINECOL);
/* Write some text */
$myPicture->setFontProperties(array("FontName"=>"fonts/verdana.ttf","FontSize"=>7));
$TextSettings = array("DrawBox"=>TRUE,"BoxRounded"=>TRUE,"R"=>0,"G"=>0,"B"=>0,"Angle"=>0,"FontSize"=>7);
- $myPicture->drawText(238,157,"GSM-Box",$TextSettings);
+ $myPicture->drawText(393,137,"Landline",$TextSettings);
//###############################
//A BIT OF STATISTICS
/* Draw the chart scale */
- $myPicture->setGraphArea(520,50,690,220);
+ $myPicture->setGraphArea(520,50,685,220);
$AxisBoundaries = array(0=>array("Min"=>0,"Max"=>100));
$myPicture->drawScale(array("CycleBackground"=>TRUE,"DrawSubTicks"=>TRUE,"GridR"=>0,"GridG"=>0,"GridB"=>0,"GridAlpha"=>10,"Pos"=>SCALE_POS_TOPBOTTOM,"Mode"=>SCALE_MODE_MANUAL,"ManualScale"=>$AxisBoundaries));