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

◆ GetBottomRight()

virtual const IPoint * GetBottomRight ( ) const
pure virtual

Gets the bottom right corner of the rectangle

Returns
IPoint of the bottom right corner

◆ GetHeight()

virtual tInt GetHeight ( ) const
pure virtual

Gets the height of the rectangle

Returns
tInt height of the rectangle

◆ GetLeft()

virtual tInt GetLeft ( ) const
pure virtual

Gets the left border of the rectangle

Returns
tInt value of the left border

◆ GetRight()

virtual tInt GetRight ( ) const
pure virtual

Gets the right border of the rectangle

Returns
tInt value of the right border

◆ GetTop()

virtual tInt GetTop ( ) const
pure virtual

Gets the top border of the rectangle

Returns
tInt value of the top border

◆ 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

◆ GetWidth()

virtual tInt GetWidth ( ) const
pure virtual

Gets the width of the rectangle

Returns
tInt width of the rectangle

◆ Release()

virtual tVoid Release ( )
pure virtual

Releases this rectangle

Returns
void

◆ 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

◆ 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

◆ 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

◆ 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