summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/web/example.drawFilledCircle.php
diff options
context:
space:
mode:
authorRefik Hadzialic2011-09-08 17:04:58 +0200
committerRefik Hadzialic2011-09-08 17:04:58 +0200
commitbab7facc86e02f80535f9b6aacba37956df7627d (patch)
tree1b34f6995cdb92671ad3415580e750d0a339b21d /notFinishedCode/web/example.drawFilledCircle.php
parentAdded date and task no at bottom of image (diff)
downloadgsm-selftest-bab7facc86e02f80535f9b6aacba37956df7627d.tar.gz
gsm-selftest-bab7facc86e02f80535f9b6aacba37956df7627d.tar.xz
gsm-selftest-bab7facc86e02f80535f9b6aacba37956df7627d.zip
Added new icons, changed the picutre, added new links(connections).
Diffstat (limited to 'notFinishedCode/web/example.drawFilledCircle.php')
-rw-r--r--notFinishedCode/web/example.drawFilledCircle.php45
1 files changed, 43 insertions, 2 deletions
diff --git a/notFinishedCode/web/example.drawFilledCircle.php b/notFinishedCode/web/example.drawFilledCircle.php
index 837a9e8..cbf0a22 100644
--- a/notFinishedCode/web/example.drawFilledCircle.php
+++ b/notFinishedCode/web/example.drawFilledCircle.php
@@ -62,10 +62,26 @@
$myPicture->drawLine(347,65,309,150); //BTS3 PING
$myPicture->drawLine(410,70,316,150); //BTS3 PING
- $arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1, "TwoHeads"=>TRUE);
+ //Arrow for GSM-Box
+ $arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1);
$myPicture->drawArrow(303,209,303,161,$arrowSettings);
+ //Arrow for Landline
+ $arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1);
+ $myPicture->drawArrow(313,210,393,171,$arrowSettings);
+ //Arrow for University telephone network
+ $arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1, "TwoHeads"=>TRUE);
+ $myPicture->drawArrow(303,298,303,239,$arrowSettings);
+
+ //SIP
+ $arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1, "TwoHeads"=>TRUE);
+ $myPicture->drawArrow(316,220,393,220,$arrowSettings);
+ /* Write some text */
+ $myPicture->setFontProperties(array("FontName"=>"fonts/verdana.ttf","FontSize"=>7));
+ $TextSettings = array("BoxRounded"=>TRUE,"R"=>0,"G"=>0,"B"=>0,"Angle"=>0,"FontSize"=>7);
+ $myPicture->drawText(346,218,"SIP",$TextSettings);
+
//IAX
$arrowSettings = array("FillR"=>2.5,"FillG"=>2.5,"FillB"=>2.5,"Ticks"=>1, "TwoHeads"=>TRUE);
$myPicture->drawArrow(192,220,297,220,$arrowSettings);
@@ -196,10 +212,35 @@
/* 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(393,137,"Landline",$TextSettings);
+ $myPicture->drawText(388,137,"Landline",$TextSettings);
//###############################
+ //University SIP
+ /* 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(283,297,$UNISIPCOL);
+ /* 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,365,"University telephone network",$TextSettings);
+ //###############################
+
+
+ //SIP
+ /* 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,208,$SIPCOL);
+ /* 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(399,256,"SIP",$TextSettings);
+ //###############################
+
+
+
//A BIT OF STATISTICS
/* Draw the chart scale */
$myPicture->setGraphArea(520,50,685,220);