summaryrefslogtreecommitdiff
path: root/include/shape.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-04-04 08:04:38 +0000
committerpixel <pixel>2003-04-04 08:04:38 +0000
commit986a589d45841832e3655892f65b773193e277af (patch)
tree9d9945bcf86283f6cf392a09f634e00a6facb43e /include/shape.h
parent100da29601f0ed1923ca3d6a1db3142929321f38 (diff)
Toying with shapes
Diffstat (limited to 'include/shape.h')
-rw-r--r--include/shape.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/shape.h b/include/shape.h
index 07e88ed..e06115e 100644
--- a/include/shape.h
+++ b/include/shape.h
@@ -24,6 +24,10 @@ namespace mogltk {
virtual ~fill();
void walk(fillwalker *);
void insert(int, int);
+ int GetMinX();
+ int GetMinY();
+ int GetMaxX();
+ int GetMaxY();
private:
class sline : public Base {
public:
@@ -54,6 +58,7 @@ namespace mogltk {
point * pheader;
friend class point;
};
+ int minX, minY, maxX, maxY;
protected:
sline * header;
friend class sline;