summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/web/example.drawFilledCircle.php
diff options
context:
space:
mode:
authorRefik Hadzialic2011-09-07 21:23:12 +0200
committerRefik Hadzialic2011-09-07 21:23:12 +0200
commitc0098e20d6b2aef27b08f353f438dc5667ede474 (patch)
tree62b46018813f0badf5b642779525c7f2917f87d6 /notFinishedCode/web/example.drawFilledCircle.php
parentChanged some cases! (diff)
downloadgsm-selftest-c0098e20d6b2aef27b08f353f438dc5667ede474.tar.gz
gsm-selftest-c0098e20d6b2aef27b08f353f438dc5667ede474.tar.xz
gsm-selftest-c0098e20d6b2aef27b08f353f438dc5667ede474.zip
Added date and task no at bottom of image
Diffstat (limited to 'notFinishedCode/web/example.drawFilledCircle.php')
-rw-r--r--notFinishedCode/web/example.drawFilledCircle.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/notFinishedCode/web/example.drawFilledCircle.php b/notFinishedCode/web/example.drawFilledCircle.php
index ccaa06f..837a9e8 100644
--- a/notFinishedCode/web/example.drawFilledCircle.php
+++ b/notFinishedCode/web/example.drawFilledCircle.php
@@ -220,6 +220,14 @@
/* Draw the chart */
$myPicture->drawBarChart(array("DisplayPos"=>LABEL_POS_INSIDE,"DisplayValues"=>TRUE,"Rounded"=>TRUE,"Surrounding"=>30,"OverrideColors"=>$Palette));
+ //DATE AND TEST NUMBER
+ /* Write some text */
+ $myPicture->setFontProperties(array("FontName"=>"fonts/verdana.ttf","FontSize"=>7));
+ $TextSettings = array("BoxRounded"=>TRUE,"R"=>255,"G"=>255,"B"=>255,"Angle"=>0,"FontSize"=>9);
+ $myPicture->drawText(460,425,"Task #:32432 07.09.2011 21:19:00",$TextSettings);
+
+
+
/* Render the picture (choose the best way) */
$myPicture->autoOutput("example.drawFilledCircle.png");