Windows C++ Library
Public Member Functions
CRect Class Reference

#include <Rect.hpp>

List of all members.

Public Member Functions

 CRect ()
 CRect (int iLeft, int iTop, int iRight, int iBottom)
 CRect (const CPoint &TopLeft, const CPoint &BottomRight)
 CRect (const CPoint &TopLeft, const CSize &Size)
 CRect (LPCRECT lprcRect)
 CRect (const RECT &rcRect)
CPoint TopLeft () const
CPoint BottomRight () const
CPoint BottomLeft () const
CPoint TopRight () const
CPoint Centre () const
void Set (int iLeft, int iTop, int iRight, int iBottom)
void Inflate (int iSize)
void Offset (int iX, int iY)
void Size (int nWidth, int nHeight)
void Size (const CSize &Size)
bool Empty () const
int Width () const
int Height () const
CSize Size () const

Constructor & Destructor Documentation

CRect::CRect ( ) [inline]
CRect::CRect ( int  iLeft,
int  iTop,
int  iRight,
int  iBottom 
) [inline]
CRect::CRect ( const CPoint TopLeft,
const CPoint BottomRight 
) [inline]
CRect::CRect ( const CPoint TopLeft,
const CSize Size 
) [inline]
CRect::CRect ( LPCRECT  lprcRect) [inline]
CRect::CRect ( const RECT &  rcRect) [inline]

Member Function Documentation

CPoint CRect::TopLeft ( ) const [inline]
CPoint CRect::BottomRight ( ) const [inline]
CPoint CRect::BottomLeft ( ) const [inline]
CPoint CRect::TopRight ( ) const [inline]
CPoint CRect::Centre ( ) const [inline]
void CRect::Set ( int  iLeft,
int  iTop,
int  iRight,
int  iBottom 
) [inline]
void CRect::Inflate ( int  iSize) [inline]
void CRect::Offset ( int  iX,
int  iY 
) [inline]
void CRect::Size ( int  nWidth,
int  nHeight 
) [inline]
void CRect::Size ( const CSize Size) [inline]
bool CRect::Empty ( ) const [inline]
int CRect::Width ( ) const [inline]
int CRect::Height ( ) const [inline]
CSize CRect::Size ( ) const [inline]

The documentation for this class was generated from the following file: