Tizen Native API  6.5
Dali::Extents Struct Reference

Structure describing the a collection of uint16_t. More...

Public Member Functions

 Extents ()
 Default constructor which provides an initialized Dali::Extents( 0u, 0u, 0u, 0u ).
 Extents (const Extents &copy)
 Copy constructor.
 Extents (uint16_t start, uint16_t end, uint16_t top, uint16_t bottom)
 Constructor.
Extentsoperator= (const Extents &copy)
 Copy Assignment operator.
Extentsoperator= (const uint16_t *array)
 Assignment operator.
bool operator== (const Extents &rhs) const
 Equality operator.
bool operator!= (const Extents &rhs) const
 Inequality operator.

Public Attributes

uint16_t start
 The start extent.
uint16_t end
 The end extent.
uint16_t top
 The top extent.
uint16_t bottom
 The bottom extent.

Detailed Description

Structure describing the a collection of uint16_t.

Since:
4.0, DALi version 1.2.62

Constructor & Destructor Documentation

Default constructor which provides an initialized Dali::Extents( 0u, 0u, 0u, 0u ).

Since:
4.0, DALi version 1.2.62
Dali::Extents::Extents ( const Extents copy)

Copy constructor.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]copyA reference to the copied Extents
Dali::Extents::Extents ( uint16_t  start,
uint16_t  end,
uint16_t  top,
uint16_t  bottom 
)

Constructor.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]startStart extent
[in]endEnd extent
[in]topTop extent
[in]bottomBottom extent

Member Function Documentation

bool Dali::Extents::operator!= ( const Extents rhs) const

Inequality operator.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]rhsThe Extents to test against
Returns:
True if the extents are not equal
Extents& Dali::Extents::operator= ( const Extents copy)

Copy Assignment operator.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]copyA reference to the copied Extents
Returns:
Itself
Extents& Dali::Extents::operator= ( const uint16_t *  array)

Assignment operator.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]arrayArray of uint16_t
Returns:
Itself
bool Dali::Extents::operator== ( const Extents rhs) const

Equality operator.

Since:
4.0, DALi version 1.2.62
Parameters:
[in]rhsThe Extents to test against
Returns:
True if the extents are equal

Member Data Documentation

The bottom extent.

Since:
4.0, DALi version 1.2.62

The end extent.

Since:
4.0, DALi version 1.2.62

The start extent.

Since:
4.0, DALi version 1.2.62

The top extent.

Since:
4.0, DALi version 1.2.62