27#ifdef KDWINUTILS_WITHMFC
56 operator QPoint()
const;
58#ifdef KDWINUTILS_WITHMFC
63 operator CPoint()
const;
78 void Offset(
int xOffset,
int yOffset);
The KPoint class defines a point in the plane using integer precision.
Definition kpoint.h:43
KPoint & operator=(const CPoint &cp)
KPoint operator-(const KPoint &point)
Returns the negation of a KPoint.
KPoint operator+(const KPoint &lhs, const KSize &rhs)
Returns the sum of a KPoint and a KSize.
void operator-=(const KSize &cs)
Offsets KPoint by subtracting a KSize.
KPoint & operator=(const QPoint &point)
void Offset(const KPoint &other)
Adds values to the x and y members of the KPoint.
KPoint operator+(const KPoint &lhs, const KPoint &rhs)
Returns the sum of 2 KPoints.
bool operator==(const KPoint &lhs, const KPoint &rhs) noexcept
Checks for equality between two KPoints.
void operator+=(const KSize &cs)
Offsets KPoint by adding a KSize.
KPoint operator-(const KPoint &lhs, const KSize &rhs)
Returns the difference of a KPoint and a KSize.
void operator+=(const KPoint &cp)
Offsets KPoint by adding a KPoint.
bool operator!=(const KPoint &lhs, const KPoint &rhs) noexcept
Checks for inequality between two KPoints.
void Offset(int xOffset, int yOffset)
Adds values to the x and y members of the KPoint.
void operator-=(const KPoint &cp)
Offsets KPoint by subtracting a KPoint.
The KSize class defines the size of a two-dimensional object using integer point precision.
Definition ksize.h:43
KPoint operator+(const KSize &lhs, const KPoint &rhs)
Returns the sum of a KSize and a KPoint.
#define KDWINUTILS_EXPORT
Definition kdwinutils_export.h:31
#define KDWINUTILS_BEGIN_NAMESPACE
Definition kdwinutils_global.h:27
#define KDWINUTILS_END_NAMESPACE
Definition kdwinutils_global.h:28