Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

rectangle Struct Template Reference

Rectangle. More...

#include <rect.h>

Collaboration diagram for rectangle:

Collaboration graph
[legend]
List of all members.

Public Methods

void set_xy (T x_, T y_)
 Sets x, y location of rectangle.

void set_wh (T w_, T h_)
 Sets w, h of rectangle.

void set (T x_, T y_, T w_, T h_)
 Sets all aspects of the rectangle.

void scale (T s)
 Scales the rectangle by s.


Public Attributes

x
 x coordinate of rectangle.

y
 y coordinate of rectangle.

w
 width of rectangle.

h
 height of rectangle.


Detailed Description

template<class T>
struct rectangle< T >

Rectangle.

Definition at line 12 of file rect.h.


Generated on Tue Feb 11 18:49:44 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002