76 cRect(tInt l, tInt t, tInt r, tInt b)
105 tVoid
Set(tInt l, tInt t, tInt r, tInt b)
153 return &m_oBottomRight;
251 return static_cast<IRect*
>(
this);
cRect()
default constructor
virtual tInt GetLeft() const =0
virtual tInt GetTop() const =0
virtual tInt GetRight() const =0
virtual tInt GetBottom() const =0
tVoid SetY(tInt yValue)
Sets the y value.
tVoid SetX(tInt xValue)
Sets the x value.
tVoid Set(tInt arg_x, tInt arg_y)
Sets the coordinates to the given values.
tVoid SetBottom(tInt nBottom)
tInt m_nRight
right border of the rect
cRect(tInt l, tInt t, tInt r, tInt b)
constructor with parameter
const cPoint * GetTopLeft() const
returns the top left point of the rectangle
tInt m_nTop
top border of the rect
tInt m_nLeft
left border of the rect
tInt GetWidth() const
returns the width of the rectangle
tInt m_nBottom
bottom border of the rect
const cPoint * GetBottomRight() const
returns the bottom right point of the rectangle
tVoid SetLeft(tInt nLeft)
cRect(const IRect *pRect)
constructor from IRect
tInt GetHeight() const
returns the height of the rectangle
tVoid SetRight(tInt nRight)
cRect()
default constructor
tVoid Set(tInt l, tInt t, tInt r, tInt b)
sets the rect
Namespace for functionality provided by the Display Toolbox.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.