X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Frect.h;h=2689bae3f5469e15bc73873c07b168bba623b919;hb=ccac11461956c9c0cc9756f8963436b5d88dfbb7;hp=0a8478a6b47cc461d80eb408777d3148018dc18c;hpb=e78daf62eb771ee29a59035d16cf63c1e6ebe144;p=architektonas diff --git a/src/rect.h b/src/rect.h index 0a8478a..2689bae 100644 --- a/src/rect.h +++ b/src/rect.h @@ -20,6 +20,11 @@ struct Rect void Normalize(void); void Translate(Point p); void Expand(double amt); + double Width(void); + double Height(void); + bool Contains(Point p); + Point TopLeft(void); + Point BottomRight(void); }; #endif // __RECT_H__