Permalink
Browse files

remove unused circle drawing function

  • Loading branch information...
1 parent 8501a1e commit 52fd2f980f80e49a0f796d1f59661c4d67cc070d @tbonfort tbonfort committed Jul 30, 2013
Showing with 0 additions and 18 deletions.
  1. +0 −17 maprendering.c
  2. +0 −1 mapserver.h
View
@@ -1018,23 +1018,6 @@ int msDrawTextLine(imageObj *image, char *string, labelObj *label, labelPathObj
return nReturnVal;
}
-
-/************************************************************************/
-/* msCircleDrawLineSymbol */
-/* */
-/************************************************************************/
-int msCircleDrawLineSymbol(symbolSetObj *symbolset, imageObj *image, pointObj *p, double r, styleObj *style, double scalefactor)
-{
- shapeObj *circle;
- if (!image) return MS_FAILURE;
- circle = msRasterizeArc(p->x, p->y, r, 0, 360, 0);
- if (!circle) return MS_FAILURE;
- msDrawLineSymbol(symbolset, image, circle, style, scalefactor);
- msFreeShape(circle);
- msFree(circle);
- return MS_SUCCESS;
-}
-
int msCircleDrawShadeSymbol(symbolSetObj *symbolset, imageObj *image, pointObj *p, double r, styleObj *style, double scalefactor)
{
shapeObj *circle;
View
@@ -2332,7 +2332,6 @@ extern "C" {
MS_DLL_EXPORT int msDrawMarkerSymbol(symbolSetObj *symbolset,imageObj *image, pointObj *p, styleObj *style, double scalefactor);
MS_DLL_EXPORT int msDrawLineSymbol(symbolSetObj *symbolset, imageObj *image, shapeObj *p, styleObj *style, double scalefactor);
MS_DLL_EXPORT int msDrawShadeSymbol(symbolSetObj *symbolset, imageObj *image, shapeObj *p, styleObj *style, double scalefactor);
- MS_DLL_EXPORT int msCircleDrawLineSymbol(symbolSetObj *symbolset, imageObj *image, pointObj *p, double r, styleObj *style, double scalefactor);
MS_DLL_EXPORT int msCircleDrawShadeSymbol(symbolSetObj *symbolset, imageObj *image, pointObj *p, double r, styleObj *style, double scalefactor);
MS_DLL_EXPORT int msDrawPieSlice(symbolSetObj *symbolset, imageObj *image, pointObj *p, styleObj *style, double radius, double start, double end);

0 comments on commit 52fd2f9

Please sign in to comment.