From a9aa438ea0558eb0044cf1e54a9190ddb41b65e5 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 2 Jul 2013 09:44:46 +0400 Subject: restructuring of boca's git --- boca-1.5.1/src/libchart/classes/Primitive.php | 59 --------------------------- 1 file changed, 59 deletions(-) delete mode 100644 boca-1.5.1/src/libchart/classes/Primitive.php (limited to 'boca-1.5.1/src/libchart/classes/Primitive.php') diff --git a/boca-1.5.1/src/libchart/classes/Primitive.php b/boca-1.5.1/src/libchart/classes/Primitive.php deleted file mode 100644 index 9e5a896..0000000 --- a/boca-1.5.1/src/libchart/classes/Primitive.php +++ /dev/null @@ -1,59 +0,0 @@ -img = $img; - } - - /** - * Draws a straight line - * - * @access public - * @param integer line start (X) - * @param integer line start (Y) - * @param integer line end (X) - * @param integer line end (Y) - * @param Color line color - */ - - function line($x1, $y1, $x2, $y2, $color, $width = 1) - { - imagefilledpolygon($this->img, array($x1, $y1 - $width / 2, $x1, $y1 + $width / 2, $x2, $y2 + $width / 2, $x2, $y2 - $width / 2), 4, $color->getColor($this->img)); -// imageline($this->img, $x1, $y1, $x2, $y2, $color->getColor($this->img)); - } - } -?> -- cgit v1.2.3