Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATRect::CenterX
CATInt32 CATRect::CenterX (  )  const [inline]

CenterX() returns the center X position. If the width is odd, returns the leftmost edge of center (e.g. rounds down)

Definition at line 168 of file CATRect.h.

References CATRECT::left, and CATRECT::right.

Referenced by Center(), and CATGuiObj::RectFromAttribs().


Generated on Mon Feb 11 04:10:50 2008 for Game Accessibility Suite by doxygen 1.5.4