phoenix::PhRect Class Reference

Rectangle class. More...

#include <PhRect.h>

List of all members.

Public Member Functions

 PhRect ()
 Constructor.
 PhRect (float a, float b, float c, float d)
 Constructor.
void set (float a, float b, float c, float d)
 Set.
float getX ()
 Get X.
float getY ()
 Get Y.
float getHeight ()
 Get Height.
float getWidth ()
 Get Width.
void setX (float a)
 Set X.
void setY (float b)
 Set Y.
void setHeight (float c)
 Set Height.
void setWidth (float d)
 Set Width.


Detailed Description

Rectangle class.

Simple class that represents a rectangle.

See also:
phoenix::PhRenderSystem::drawRectangle, pheonix::PhRenderSystem::drawTexturePart

Constructor & Destructor Documentation

phoenix::PhRect::PhRect ( float  a,
float  b,
float  c,
float  d 
)

Constructor.

Makes a rectangle with the given dimensions.

Parameters:
a X
b Y
c Width
d Height


Member Function Documentation

void phoenix::PhRect::set ( float  a,
float  b,
float  c,
float  d 
)

Set.

Sets the rectangle to the given dimensions.

Parameters:
a X
b Y
c Width
d Height


The documentation for this class was generated from the following file:
Generated on Tue Nov 20 21:59:24 2007 for Phoenix by  doxygen 1.5.4