PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | Friends | List of all members
PGE_RectF Class Reference

Public Member Functions

 PGE_RectF (double x, double y, double w, double h)
 
 PGE_RectF (const PGE_RectF &r)
 
 PGE_RectF (const PGE_Rect &r)
 
void setRect (double x, double y, double w, double h)
 
void setPos (double x, double y)
 
void setSize (double w, double h)
 
void setLeft (double l)
 
void setRight (double r)
 
void setTop (double t)
 
void setBottom (double b)
 
PGE_RectF withMargin (double margin)
 
PGE_RectF withMargin (double marginX, double marginY)
 
void setX (double x)
 
void setY (double y)
 
void setWidth (double w)
 
void setHeight (double h)
 
void setTopLeft (PGE_PointF p)
 
void setTopRight (PGE_PointF p)
 
void setBottomRight (PGE_PointF p)
 
void setBottomLeft (PGE_PointF p)
 
void setTopLeft (double l, double t)
 
void setTopRight (double r, double t)
 
void setBottomRight (double r, double b)
 
void setBottomLeft (double l, double b)
 
double x ()
 
double y ()
 
double left ()
 
double top ()
 
double bottom ()
 
double right ()
 
double width ()
 
double height ()
 
PGE_PointF center ()
 
PGE_SizeF size ()
 
bool collidePoint (double x, double y)
 
bool collideRect (double x, double y, double w, double h)
 
bool collideRect (PGE_RectF &rect)
 
bool collideRectDeep (PGE_RectF &rect, float deep)
 
bool collideRectDeep (PGE_RectF &rect, float deepX, float deepY)
 
bool collideRect (PGE_Rect &rect)
 

Friends

class PGE_Rect
 

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