27#ifdef KDWINUTILS_WITHMFC
56 operator QSize()
const;
58#ifdef KDWINUTILS_WITHMFC
60 explicit KSize(
const CSize &cs);
63 operator CSize()
const;
The KPoint class defines a point in the plane using integer precision.
Definition kpoint.h:43
KSize operator-(const KPoint &lhs, const KPoint &rhs)
Subtracts two points and returns a size.
The KSize class defines the size of a two-dimensional object using integer point precision.
Definition ksize.h:43
bool operator!=(const KSize &lhs, const KSize &rhs) noexcept
Checks for inequality between 2 sizes.
KSize & operator=(const QSize &size)
KSize operator+(const KSize &lhs, const KSize &rhs)
Adds two sizes.
KSize & operator=(const CSize &cs)
void operator-=(const KSize &other)
Subtracts a KSize from the current KSize.
KSize operator-(const KSize &lhs, const KSize &rhs)
Subtracts two sizes.
void operator+=(const KSize &other)
Adds a KSize to the current KSize.
bool operator==(const KSize &lhs, const KSize &rhs) noexcept
Checks for equality between 2 sizes.
KSize operator-(const KSize &size)
Returns the negation of a KSize.
#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