Commit a6085260 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59049 954022d7-b5bf-4e40-9824-e11837661b57
parent fb233655
...@@ -196,51 +196,5 @@ public: ...@@ -196,51 +196,5 @@ public:
REAL Height; REAL Height;
}; };
class CPoint : public tagPOINT
{
public:
// Constructors
// create an uninitialized point
CPoint() throw();
// create from two integers
CPoint(int initX, int initY) throw();
// create from another point
CPoint(POINT initPt) throw();
// create from a size
CPoint(SIZE initSize) throw();
// create from an LPARAM: x = LOWORD(dw) y = HIWORD(dw)
CPoint(LPARAM dwPoint) throw();
// Operations
// translate the point
void Offset(int xOffset, int yOffset) throw();
void Offset(POINT point) throw();
void Offset(SIZE size) throw();
void SetPoint(int X, int Y) throw();
BOOL operator==(POINT point) const throw();
BOOL operator!=(POINT point) const throw();
void operator+=(SIZE size) throw();
void operator-=(SIZE size) throw();
void operator+=(POINT point) throw();
void operator-=(POINT point) throw();
// Operators returning CPoint values
CPoint operator+(SIZE size) const throw();
CPoint operator-(SIZE size) const throw();
CPoint operator-() const throw();
CPoint operator+(POINT point) const throw();
// Operators returning CSize values
CSize operator-(POINT point) const throw();
// Operators returning CRect values
CRect operator+(const RECT* lpRect) const throw();
CRect operator-(const RECT* lpRect) const throw();
};
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment