ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
IRectabstract
Inheritance diagram for IRect:
[legend]

Public Member Functions

virtual ~IRect ()
 virtual destructor to ensure proper cleanup.
 
virtual tVoid Release ()=0
 
virtual tInt GetWidth () const =0
 
virtual tInt GetHeight () const =0
 
virtual const IPointGetTopLeft () const =0
 
virtual const IPointGetBottomRight () const =0
 
virtual tInt GetLeft () const =0
 
virtual tVoid SetLeft (tInt nLeft)=0
 
virtual tInt GetTop () const =0
 
virtual tVoid SetTop (tInt nTop)=0
 
virtual tInt GetRight () const =0
 
virtual tVoid SetRight (tInt nRight)=0
 
virtual tInt GetBottom () const =0
 
virtual tVoid SetBottom (tInt nBottom)=0
 

Detailed Description

Interface for rectangle representation

Definition at line 23 of file rect_intf.h.

Member Function Documentation

◆ GetBottom()

virtual tInt GetBottom ( ) const
pure virtual

gets the bottom border of the rectangle

Returns
tInt value of the bottom border

Implemented in cRect.

◆ GetBottomRight()

virtual const IPoint* GetBottomRight ( ) const
pure virtual

Gets the bottom right corner of the rectangle

Returns
IPoint of the bottom right corner

Implemented in cRect.

◆ GetHeight()

virtual tInt GetHeight ( ) const
pure virtual

Gets the height of the rectangle

Returns
tInt height of the rectangle

Implemented in cRect.

◆ GetLeft()

virtual tInt GetLeft ( ) const
pure virtual

Gets the left border of the rectangle

Returns
tInt value of the left border

Implemented in cRect.

◆ GetRight()

virtual tInt GetRight ( ) const
pure virtual

Gets the right border of the rectangle

Returns
tInt value of the right border

Implemented in cRect.

◆ GetTop()

virtual tInt GetTop ( ) const
pure virtual

Gets the top border of the rectangle

Returns
tInt value of the top border

Implemented in cRect.

◆ GetTopLeft()

virtual const IPoint* GetTopLeft ( ) const
pure virtual

Gets the top left corner corner of the rectangle

Returns
IPoint point of the top left corner

Implemented in cRect.

◆ GetWidth()

virtual tInt GetWidth ( ) const
pure virtual

Gets the width of the rectangle

Returns
tInt width of the rectangle

Implemented in cRect.

◆ Release()

virtual tVoid Release ( )
pure virtual

Releases this rectangle

Returns
void

Implemented in cRect.

◆ SetBottom()

virtual tVoid SetBottom ( tInt  nBottom)
pure virtual

Sets the bottom border of the rectangle

Parameters
nBottom[in] value of the bottom border
Returns
void

Implemented in cRect.

◆ SetLeft()

virtual tVoid SetLeft ( tInt  nLeft)
pure virtual

Sets the left border of the rectangle

Parameters
nLeft[in] value of the left border
Returns
void

Implemented in cRect.

◆ SetRight()

virtual tVoid SetRight ( tInt  nRight)
pure virtual

Sets the right border of the rectangle

Parameters
nRight[in] value of the right border
Returns
void

Implemented in cRect.

◆ SetTop()

virtual tVoid SetTop ( tInt  nTop)
pure virtual

Sets the top border of the rectangle

Parameters
nTop[in] value of the top border
Returns
void

Implemented in cRect.