45 *((
POINT*)
this) = initPt;
50 *((
SIZE*)
this) = initSize;
82 return !(*
this ==
point);
140 CSize(
int initCX,
int initCY)
throw()
148 *((
SIZE*)
this) = initSize;
153 *((
POINT*)
this) = initPt;
169 return !(*
this ==
size);
241 right = srcRect.right;
247 left = lpSrcRect->left;
248 top = lpSrcRect->top;
249 right = lpSrcRect->right;
250 bottom = lpSrcRect->bottom;
265 right = bottomRight.x;
271 return ((
CPoint*)
this)[1];
276 return ((
const CPoint*)
this)[1];
301 DeflateRect(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom);
335 InflateRect(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom);
394 return ((
CPoint*)
this)[0];
399 return ((
const CPoint*)
this)[0];
423 return !(*
this ==
rect);
430 right = srcRect.right;
475 r.InflateRect(lpRect);
503 r.DeflateRect(lpRect);
515 r.IntersectRect(
this, &
rect2);
527 r.UnionRect(
this, &
rect2);
BOOL UnionRect(LPCRECT lpRect1, LPCRECT lpRect2)
CPoint(int initX, int initY)
const CPoint & BottomRight() const
void DeflateRect(int l, int t, int r, int b)
void InflateRect(int x, int y)
void InflateRect(LPCRECT lpRect)
CRect(POINT topLeft, POINT bottomRight)
BOOL operator==(POINT point) const
void OffsetRect(SIZE size)
CSize operator+(SIZE size) const
CRect operator-(LPCRECT lpRect) const
void operator+=(LPCRECT lpRect)
GLdouble GLdouble GLdouble r
void OffsetRect(POINT point)
CRect(const RECT &srcRect)
BOOL operator==(const RECT &rect) const
GLint GLint GLint GLint GLint x
void operator+=(SIZE size)
void CopyRect(LPCRECT lpSrcRect)
CPoint operator+(SIZE size) const
CPoint operator+(POINT point) const
void DeflateRect(SIZE size)
void DeflateRect(LPCRECT lpRect)
CRect operator+(POINT point) const
BOOL operator!=(SIZE size) const
BOOL operator==(SIZE size) const
CSize(int initCX, int initCY)
BOOL WINAPI IsRectEmpty(_In_ LPCRECT)
void operator-=(SIZE size)
BOOL operator!=(POINT point) const
CRect(int l, int t, int r, int b)
BOOL PtInRect(POINT point) const
void operator=(const RECT &srcRect)
BOOL IntersectRect(LPCRECT lpRect1, LPCRECT lpRect2)
void operator+=(POINT point)
GLboolean GLboolean GLboolean b
CRect operator+(SIZE size) const
CRect(POINT point, SIZE size)
void DeflateRect(int x, int y)
CRect operator-(SIZE size) const
void InflateRect(SIZE size)
BOOL operator!=(const RECT &rect) const
CPoint operator-(POINT point) const
void operator&=(const RECT &rect)
CPoint CenterPoint() const
BOOL WINAPI UnionRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
CRect operator &(const RECT &rect2) const
void operator-=(POINT point)
void operator-=(SIZE size)
void OffsetRect(int x, int y)
CPoint operator-(SIZE size) const
void operator+=(SIZE size)
void operator-=(POINT point)
void InflateRect(int l, int t, int r, int b)
BOOL WINAPI IntersectRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
void operator|=(const RECT &rect)
void operator-=(SIZE size)
void Offset(int xOffset, int yOffset)
const CPoint & TopLeft() const
CRect operator-(POINT point) const
BOOL WINAPI EqualRect(_In_ LPCRECT, _In_ LPCRECT)
void operator+=(SIZE size)
CRect operator+(LPCRECT lpRect) const
CSize operator-(SIZE size) const
GLint GLint GLint GLint GLint GLint y
void operator-=(LPCRECT lpRect)
BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT)
BOOL EqualRect(LPCRECT lpRect) const
GLdouble GLdouble GLdouble GLdouble top
CPoint operator+(POINT point) const
void operator+=(POINT point)
CRect operator|(const RECT &rect2) const
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize