Show All | 
Public Member Functions
- 
RectT ()
- 
RectT (T aX1, T aY1, T aX2, T aY2)
- 
RectT (const Vec2T &v1, const Vec2T &v2)
- 
RectT (const Area &area)
- 
voidset (T aX1, T aY1, T aX2, T aY2)
- 
TgetWidth () const
- 
TgetHeight () const
- 
TgetAspectRatio () const
- 
TcalcArea () const
- 
voidcanonicalize ()
- 
canonicalized () const
- 
voidclipBy (const RectT &clip)
- 
getClipBy (const RectT &clip) const
- 
getInteriorArea () const
- 
voidinflate (const Vec2T &amount)
- 
inflated (const Vec2T &amount) const
- 
voidscaleCentered (const Vec2T &scale)
- 
scaledCentered (const Vec2T &scale) const
- 
voidscaleCentered (T scale)
- 
scaledCentered (T scale) const
- 
voidscale (T scale)
- 
voidscale (const Vec2T &scale)
- 
scaled (T scale) const
- 
scaled (const Vec2T &scale) const
- 
boolcontains (const Vec2T &pt) const
- 
TgetX1 () const
- 
TgetY1 () const
- 
TgetX2 () const
- 
TgetY2 () const
- 
getUpperLeft () const
- 
getUpperRight () const
- 
getLowerRight () const
- 
getLowerLeft () const
- 
getCenter () const
- 
getSize () const
- 
const RectT< T >operator+ (const Vec2T &o) const
- 
const RectT< T >operator- (const Vec2T &o) const
- 
const RectT< T >operator* (T s) const
- 
const RectT< T >operator/ (T s) const
- 
const RectT< T >operator+ (const RectT< T > &rhs) const
- 
const RectT< T >operator- (const RectT< T > &rhs) const
- 
RectT< T > &operator+= (const Vec2T &o)
- 
RectT< T > &operator-= (const Vec2T &o)
- 
RectT< T > &operator*= (T s)
- 
RectT< T > &operator/= (T s)