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);
314 return ::EqualRect(
this, lpRect);
335 InflateRect(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom);
348 return ::IntersectRect(
this, lpRect1, lpRect2);
353 return ::IsRectEmpty(
this);
385 return ::PtInRect(
this,
point);
394 return ((
CPoint*)
this)[0];
399 return ((
const CPoint*)
this)[0];
404 return ::UnionRect(
this, lpRect1, lpRect2);
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);
void Offset(int xOffset, int yOffset)
void operator+=(POINT point)
void operator-=(SIZE size)
BOOL operator==(POINT point) const
CPoint operator-(SIZE size) const
CPoint operator+(POINT point) const
void operator-=(POINT point)
CPoint(int initX, int initY)
void operator+=(SIZE size)
BOOL operator!=(POINT point) const
CPoint operator+(SIZE size) const
BOOL PtInRect(POINT point) const
CRect(POINT topLeft, POINT bottomRight)
void DeflateRect(LPCRECT lpRect)
CPoint CenterPoint() const
CRect(int l, int t, int r, int b)
void InflateRect(LPCRECT lpRect)
void DeflateRect(int l, int t, int r, int b)
void OffsetRect(POINT point)
void OffsetRect(SIZE size)
const CPoint & BottomRight() const
CRect operator-(LPCRECT lpRect) const
BOOL operator==(const RECT &rect) const
void InflateRect(int l, int t, int r, int b)
const CPoint & TopLeft() const
CRect operator&(const RECT &rect2) const
void operator+=(LPCRECT lpRect)
void operator-=(SIZE size)
BOOL EqualRect(LPCRECT lpRect) const
CRect operator+(SIZE size) const
void OffsetRect(int x, int y)
void operator+=(SIZE size)
void DeflateRect(SIZE size)
CRect operator-(SIZE size) const
void operator-=(POINT point)
void operator&=(const RECT &rect)
CRect operator+(LPCRECT lpRect) const
BOOL UnionRect(LPCRECT lpRect1, LPCRECT lpRect2)
void CopyRect(LPCRECT lpSrcRect)
void InflateRect(SIZE size)
void operator=(const RECT &srcRect)
void InflateRect(int x, int y)
CRect operator-(POINT point) const
void operator|=(const RECT &rect)
BOOL IntersectRect(LPCRECT lpRect1, LPCRECT lpRect2)
void operator-=(LPCRECT lpRect)
CRect operator+(POINT point) const
CRect(POINT point, SIZE size)
void operator+=(POINT point)
CRect operator|(const RECT &rect2) const
CRect(const RECT &srcRect)
BOOL operator!=(const RECT &rect) const
void DeflateRect(int x, int y)
void operator+=(SIZE size)
CSize operator-(SIZE size) const
BOOL operator!=(SIZE size) const
CPoint operator-(POINT point) const
BOOL operator==(SIZE size) const
CPoint operator+(POINT point) const
void operator-=(SIZE size)
CSize(int initCX, int initCY)
CSize operator+(SIZE size) const
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble GLdouble top
GLboolean GLboolean GLboolean b
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
_In_ ULONG _In_ ULONG Offset