[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc/class.gdimage.inc.php, 1.8
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc/class.gdimage.inc.php, 1.8 |
Date: |
Thu, 3 Jun 2004 15:57:26 +0200 |
Update of /phpgwapi/inc
Modified Files:
Branch:
class.gdimage.inc.php
date: 2004/06/03 13:57:26; author: ceb; state: Exp; lines: +14 -3
Log Message:
update
=====================================================================
Index: phpgwapi/inc/class.gdimage.inc.php
diff -u phpgwapi/inc/class.gdimage.inc.php:1.7
phpgwapi/inc/class.gdimage.inc.php:1.8
--- phpgwapi/inc/class.gdimage.inc.php:1.7 Tue Jun 1 15:44:37 2004
+++ phpgwapi/inc/class.gdimage.inc.php Thu Jun 3 13:57:26 2004
@@ -325,11 +325,22 @@
return True;
}
- function draw_rectangle($data = 0, $style = 'filled')
+ function draw_rectangle($data = 0, $style = 'unused')
{
- if ($style == 'filled')
+ imagefilledrectangle ($this->hImage, $data[0],
$data[1], $data[2], $data[3],$this->hColor);
+
+ if($style != 'unused')
{
- imagefilledrectangle ($this->hImage, $data[0],
$data[1], $data[2], $data[3],$this->hColor);
+ $this->SetColor(255,255,255);
+ switch($style)
+ {
+ case 'open':
+ imagefilledrectangle
($this->hImage, $data[0]+1, $data[1]+4, $data[2]-1, $data[3]-4,$this->hColor);
+ break;
+ default:
+ imagefilledrectangle
($this->hImage, $data[0]+1, $data[1]+4, $data[2]-1, $data[3]-4,$this->hColor);
+ imagefilledrectangle
($this->hImage, $data[0]+4, $data[1]+1, $data[2]-4, $data[3]-1,$this->hColor);
+ }
}
return True;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc/class.gdimage.inc.php, 1.8,
nomail <=