ADTF Display Toolbox
Loading...
Searching...
No Matches
IRectabstract

#include <rect_intf.h>

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 IPoint * GetTopLeft () const =0
 
virtual const IPoint * GetBottomRight () 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.

Constructor & Destructor Documentation

◆ ~IRect()

virtual ~IRect ( )
inlinevirtual

virtual destructor to ensure proper cleanup.

Definition at line 29 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, and cRect.

Referenced by cRect::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, and cRect.

◆ GetHeight()

virtual tInt GetHeight ( ) const
pure virtual

Gets the height of the rectangle

Returns
tInt height of the rectangle

Implemented in cRect, and 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, and cRect.

Referenced by cRect::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, and cRect.

Referenced by cRect::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, and cRect.

Referenced by cRect::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, and cRect.

◆ GetWidth()

virtual tInt GetWidth ( ) const
pure virtual

Gets the width of the rectangle

Returns
tInt width of the rectangle

Implemented in cRect, and cRect.

◆ Release()

virtual tVoid Release ( )
pure virtual

Releases this rectangle

Returns
void

Implemented in cRect, and 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, and 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, and 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, and 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, and cRect.