/*
- Copyright (C) 2007 Paul Davis
+ Copyright (C) 2007 Paul Davis
Author: Dave Robillard
This program is free software; you can redistribute it and/or modify
namespace Canvas {
-class Diamond : public Polygon {
-public:
+class Diamond : public Polygon
+{
+ public:
Diamond(Group& group, double height);
-
+ ~Diamond ();
+
+ void move_to (double x, double y);
+ void move_by (double dx, double dy);
void set_height(double height);
+
+ protected:
+ double _x;
+ double _y;
+ double _h;
+ GnomeCanvasPoints* points;
};