Gel2D - The free/open source game creation suite

Public Member Functions | Public Attributes
gel::GelRectf Class Reference

#include <gelRect.h>

List of all members.

Public Member Functions

 GelRectf ()
 Default constructor.
 GelRectf (float _left, float _top, float _width, float _height)
 GelRectf constructor.
void set (float _left, float _top, float _width, float _height)
 Sets the rect size.
GelRectf operator= (const GelRectf &r)
bool operator== (const GelRectf &r) const
bool operator!= (const GelRectf &r) const

Public Attributes

float left
float top
float width
float height

Constructor & Destructor Documentation

gel::GelRectf::GelRectf ( ) [inline]

Default constructor.

Assigns zero to all data members.

gel::GelRectf::GelRectf ( float  _left,
float  _top,
float  _width,
float  _height 
)

GelRectf constructor.

Parameters:
_left: X origin.
_top: Y origin.
_width: Width.
_height: Height.

Member Function Documentation

void gel::GelRectf::set ( float  _left,
float  _top,
float  _width,
float  _height 
)

Sets the rect size.

Parameters:
_left: X origin.
_top: Y origin.
_width: Width.
_height: Height.
GelRectf gel::GelRectf::operator= ( const GelRectf r) [inline]
bool gel::GelRectf::operator== ( const GelRectf r) const [inline]
bool gel::GelRectf::operator!= ( const GelRectf r) const [inline]

Member Data Documentation


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