X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Frect.h;h=0098a8d54cd32066d2a0a5e6b3a969f4422206ec;hb=742d2aa9bb46bce4f690474fa22f5980e175e55e;hp=0a8478a6b47cc461d80eb408777d3148018dc18c;hpb=e78daf62eb771ee29a59035d16cf63c1e6ebe144;p=architektonas diff --git a/src/rect.h b/src/rect.h index 0a8478a..0098a8d 100644 --- a/src/rect.h +++ b/src/rect.h @@ -20,7 +20,13 @@ 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 TopRight(void); + Point BottomLeft(void); + Point BottomRight(void); }; #endif // __RECT_H__ -