21#include <rtl/string.hxx>
34 return OString::number(
A()) +
", " + OString::number(
B());
47 if (rSize.
Width() < 0)
49 else if ( rSize.
Width() > 0 )
56 else if ( rSize.
Height() > 0 )
169 return !GetIntersection( rRect ).IsEmpty();
177 return OString::number(
Left()) +
", "
178 + OString::number(
Top()) +
", "
179 + OString::number(getOpenWidth()) +
", "
180 + OString::number(getOpenHeight());
186 AdjustTop(-nExpandBy);
188 AdjustBottom(nExpandBy);
197 if (!IsHeightEmpty())
219static_assert( std::is_trivially_copyable< Pair >::value );
220static_assert( std::is_trivially_copyable< Point >::value );
221static_assert( std::is_trivially_copyable< Size >::value );
222static_assert( std::is_trivially_copyable< Range >::value );
223static_assert( std::is_trivially_copyable< Selection >::value );
224static_assert( std::is_trivially_copyable< tools::Rectangle >::value );
TOOLS_DLLPUBLIC rtl::OString toString() const
TOOLS_DLLPUBLIC size_t GetHashValue() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
std::enable_if_t<(sizeof(N)==4)> hash_combine(N &nSeed, T const *pValue, size_t nCount)
constexpr T saturating_add(T a, T b)