| 109 | } |
| 110 | |
| 111 | void drawRectangle(mapObj *map, imageObj *image, float mx, float my, float Mx, float My, |
| 112 | styleObj *style) { |
| 113 | shapeObj shape; |
| 114 | lineObj line; |
| 115 | pointObj point[5]; |
| 116 | line.point = point; |
| 117 | line.numpoints = 5; |
| 118 | shape.line = &line; |
| 119 | shape.numlines = 1; |
| 120 | |
| 121 | point[0].x = point[4].x = point[3].x = mx; |
| 122 | point[0].y = point[4].y = point[1].y = my; |
| 123 | point[1].x = point[2].x = Mx; |
| 124 | point[2].y = point[3].y = My; |
| 125 | |
| 126 | msDrawShadeSymbol(&map->symbolset,image,&shape,style,1.0); |
| 127 | } |
| 128 | |
| 129 | int msDrawVBarChart(mapObj *map, imageObj *image, pointObj *center, |
| 130 | float *values, styleObj **styles, int numvalues, |
no test coverage detected