GClasses

GClasses::GFloatRect Class Reference

Represents a rectangular region with floats. More...

#include <GRect.h>

List of all members.

Public Member Functions

 GFloatRect ()
 GFloatRect (float _x, float _y, float _w, float _h)
void set (float _x, float _y, float _w, float _h)
 Sets all 4 values in this rect.
bool doesInclude (float _x, float _y)
 Returns true iff this rect includes the specified point.

Public Attributes

float x
float y
float w
float h

Detailed Description

Represents a rectangular region with floats.


Constructor & Destructor Documentation

GClasses::GFloatRect::GFloatRect ( ) [inline]
GClasses::GFloatRect::GFloatRect ( float  _x,
float  _y,
float  _w,
float  _h 
) [inline]

Member Function Documentation

bool GClasses::GFloatRect::doesInclude ( float  _x,
float  _y 
) [inline]

Returns true iff this rect includes the specified point.

void GClasses::GFloatRect::set ( float  _x,
float  _y,
float  _w,
float  _h 
) [inline]

Sets all 4 values in this rect.


Member Data Documentation