From d914343f60f3b673b0b06dbd26f3bbc710d58f96 Mon Sep 17 00:00:00 2001 From: Refik Hadzialic Date: Wed, 7 Sep 2011 21:08:30 +0200 Subject: Changed some cases! --- notFinishedCode/web/example.drawFilledCircle.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'notFinishedCode/web/example.drawFilledCircle.php') 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)); -- cgit v1.2.3-55-g7522