#ifndef _Polygon_extensions_h_
#define _Polygon_extensions_h_
/* David Weenink, 9 oct 1996 */

#include "Polygon.h"
#include "Categories.h"
#include "Graphics.h"

void Polygon_translate (I, double xt, double yt);
void Polygon_rotate (I, double alpha, double xc, double yc);
void Polygon_scale (I, double xs, double ys);
void Polygon_reverseX (I);
void Polygon_reverseY (I);

void Polygon_Categories_draw (I, Any categories, Any graphics, double xmin, double xmax, 
	double ymin, double ymax, int garnish);
/* reverse axis when min > max */

void Polygon_drawMarks (I, Graphics g, double xmin, double xmax,
	double ymin, double ymax, double size_mm, const char *mark);

#endif /* _Polygon_extensions_h_ */
