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

CenterY() returns the center Y position. If the height is odd, returns the upper edge of center (e.g. rounds down)

Definition at line 176 of file CATRect.h.

References CATRECT::bottom, and CATRECT::top.

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


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