20#ifndef INCLUDED_VCL_FRAMEPOSSIZE_HXX
21#define INCLUDED_VCL_FRAMEPOSSIZE_HXX
25#include <rtl/string.hxx>
70 constexpr sal_Int32
x()
const {
return m_nX; }
71 void setX(sal_Int32 nX) { m_nX = nX; }
72 constexpr sal_Int32
y()
const {
return m_nY; }
73 void setY(sal_Int32 nY) { m_nY = nY; }
75 constexpr Point pos()
const {
return { m_nX, m_nY }; }
81 void move(sal_Int32 nDX, sal_Int32 nDY)
87 constexpr sal_Int32
width()
const {
return m_nWidth; }
97 constexpr sal_Int32
height()
const {
return m_nHeight; }
100 assert(nHeight >= 0);
113 setWidth(rSize.
Width());
114 setHeight(rSize.
Height());
129 s << rPosSize.
width() <<
"x" << rPosSize.
height() <<
"@(" << rPosSize.
x() <<
"," << rPosSize.
y()
constexpr tools::Long getX() const
constexpr tools::Long getY() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
There are multiple ways to store the two different areas of a vcl::Window.
constexpr Point pos() const
constexpr sal_Int32 height() const
constexpr sal_Int32 y() const
constexpr Size size() const
void setPos(const Point &aPos)
void setWidth(sal_Int32 nWidth)
void setPosSize(const tools::Rectangle &rRect)
constexpr sal_Int32 x() const
void setPosSize(const Point &rPos, const Size &rSize)
constexpr sal_Int32 width() const
constexpr tools::Rectangle posSize() const
void setSize(const Size &rSize)
void move(sal_Int32 nDX, sal_Int32 nDY)
void setHeight(sal_Int32 nHeight)
#define VCL_PLUGIN_PUBLIC
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, const Region &rRegion)