Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeDims Class Reference

represents 2d dimensions as width and height More...

#include <cascade/graphics/CascadeDims.h>

Inheritance diagram for CascadeDims:

CascadeObject List of all members.

Public Member Functions

 CascadeDims ()
 CascadeDims (u32 ww, u32 hh)
 CascadeDims (const CascadeDims &dims)

Public Attributes

u32 w
u32 h

Detailed Description

represents 2d dimensions as width and height

Skip the description

CascadeDims represents simple 2d dimensions in terms of width and height.


class CascadeDims


Constructor & Destructor Documentation

CascadeDims::CascadeDims  )  [inline]
 

default constructor

The default constructor for CascadeDims initializes the dimensions to (0, 0)

CascadeDims::CascadeDims u32  ww,
u32  hh
[inline]
 

dimension constructor

This constructor sets the dims from the width and height coordinates passed in.

Parameters:
ww the width of the dimensions
hh the height of the dimensions

CascadeDims::CascadeDims const CascadeDims dims  )  [inline]
 

copy constructor

This copy constructor copies the dims from the dims passed in.

Parameters:
dims the dims to copy


Member Data Documentation

u32 CascadeDims::h
 

the height of the dims

h stores the width dimension of the dims

u32 CascadeDims::w
 

the width of the dims

w stores the width dimension of the dims


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 14:27:18 2005 for Cascade Library by  doxygen 1.4.1