mx::Size Struct Reference

#include <mxtype.h>

List of all members.

Public Member Functions

 Size ()
 Size (int width, int height)

Public Attributes

int width
int height

Detailed Description

structure to hold width and height variables for coordinates

Definition at line 41 of file mxtype.h.

Constructor & Destructor Documentation

mx::Size::Size (  )  [inline]

default constructor

Definition at line 48 of file mxtype.h.

References height, and width.

00048 { width = height = 0; }

mx::Size::Size ( int  width,
int  height 
) [inline]

constructor to hold width height values

width sets the width parameter
height sets the height parameter

Definition at line 53 of file mxtype.h.

00054                 {
00055                         this->width = width;
00056                         this->height = height;
00057                 }

Member Data Documentation

The documentation for this struct was generated from the following file:

Generated on Wed Jun 10 14:52:02 2009 for libmx by  doxygen 1.5.8