ui::util::Insets Class Reference

Collaboration diagram for ui::util::Insets:

Collaboration graph
[legend]
List of all members.

Detailed Description

Insets defines space on four sides of a rectangle. Insets are used for calculating border size, padding and margins.


Public Member Functions

 Insets (int top, int left, int bottom, int right)
 Insets ()
 Insets (const Insets &rhs)
Insetsoperator= (const Insets &rhs)
bool operator== (const Insets &rhs)
void swap (Insets &rhs) throw ()
 ~Insets ()

Public Attributes

int top
int left
int bottom
int right


Constructor & Destructor Documentation

ui::util::Insets::Insets int  top,
int  left,
int  bottom,
int  right
 

Creates new Insets.

Parameters:
top defines top space.
left defines left space.
bottom defines bottom space.
right defines right space.

ui::util::Insets::Insets  ) 
 

Default constructor. Creates empty Insets.

ui::util::Insets::Insets const Insets rhs  ) 
 

Copy Constructor.

ui::util::Insets::~Insets  ) 
 

Destructor.


Member Function Documentation

Insets & ui::util::Insets::operator= const Insets rhs  ) 
 

Assignment operator.

bool ui::util::Insets::operator== const Insets rhs  ) 
 

Compare two insets.

void ui::util::Insets::swap Insets rhs  )  throw ()
 

Swaps the content of two insets.


Generated on Mon Jun 20 19:42:04 2005 for UI by doxygen 1.3.1 using KingsTools