1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
<?php
/**
* File containing the ezcGraphRenderer2D class
*
* @package Graph
* @version //autogentag//
* @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Implements the three dimensional renderer for the graph component
*
* @package Graph
*/
class ezcGraphRenderer2D extends ezcGraphRenderer {
/**
* Draw a pie segment
*
* @param ezcGraphCoordinate $position
* @param mixed $radius
* @param float $startAngle
* @param float $endAngle
* @param float $moveOut
* @access public
* @return void
*/
public function drawPieSegment( ezcGraphCoordinate $position, $radius, $startAngle = .0, $endAngle = 360., $moveOut = .0 )
{
}
/**
* Draw a line
*
* Semantically means a line as a chart element, not a single line like
* the ones used in axes.
*
* @param ezcGraphCoordinate $position
* @param ezcGraphCoordinate $end
* @param mixed $filled
* @access public
* @return void
*/
public function drawLine( ezcGraphCoordinate $position, ezcGraphCoordinate $end, $filled = true )
{
}
/**
* Draws a text box
*
* @param ezcGraphCoordinate $position
* @param mixed $text
* @param mixed $width
* @param mixed $height
* @access public
* @return void
*/
public function drawTextBox( ezcGraphCoordinate $position, $text, $width = null, $height = null )
{
}
/**
* Draws a rectangle
*
* @param ezcGraphColor $color
* @param ezcGraphCoordinate $position
* @param mixed $width
* @param mixed $height
* @param float $borderWidth
* @access public
* @return void
*/
public function drawRect( ezcGraphColor $color, ezcGraphCoordinate $position = null, $width = null, $height = null, $borderWidth = 1 )
{
}
/**
* Draw Background
*
* Draws a filled rectangle, used for backgrounds
*
* @param ezcGraphColor $color
* @param ezcGraphCoordinate $position
* @param mixed $width
* @param mixed $height
* @access public
* @return void
*/
public function drawBackground( ezcGraphColor $color, ezcGraphCoordinate $position = null, $width = null, $height = null )
{
}
/**
* Draws BackgrouniImage
*
* @param mixed $file
* @param ezcGraphCoordinate $position
* @param mixed $width
* @param mixed $height
* @access public
* @return void
*/
public function drawBackgroundImage( $file, ezcGraphCoordinate $position = null, $width = null, $height = null )
{
}
/**
* Draws a lines symbol
*
* @param ezcGraphCoordinate $position
* @param float $width
* @param float $height
* @param int $symbol
* @access public
* @return void
*/
public function drawSymbol( ezcGraphCoordinate $position, $width, $height, $symbol = ezcGraph::NO_SYMBOL)
{
}
}
?>
|