| 
|   | Gl2DRect () | 
|   | 
|   | Gl2DRect (float bottom, float left, float height, float width, const std::string &textureName, bool xInv, bool yInv) | 
|   | 
|   | Gl2DRect (float top, float bottom, float left, float right, const std::string &textureName, bool inPercent=false) | 
|   | 
|   | ~Gl2DRect () override | 
|   | 
| void  | draw (float lod, Camera *camera) override | 
|   | 
| BoundingBox  | getBoundingBox () override | 
|   | 
| virtual std::string  | getTexture () | 
|   | 
| void  | getXML (std::string &outString) override | 
|   | 
| virtual void  | setCoordinates (float bottom, float left, float width, float height) | 
|   | 
| virtual void  | setTexture (const std::string &name) | 
|   | 
| void  | setWithXML (const std::string &inString, unsigned int ¤tPosition) override | 
|   | 
| 
void  | translate (const Coord &mouvement) override | 
|   | 
|   | GlRect (bool filled=true, bool outlined=false) | 
|   | 
|   | GlRect (const Coord ¢er, const float width, const float height, const Color &fillColor, const Color &outlineColor) | 
|   | 
|   | GlRect (const Coord &topLeftPos, const Coord &bottomRightPos, const Color &topLeftCol, const Color &bottomRightCol, bool filled=true, bool outlined=false) | 
|   | 
|   | ~GlRect () override | 
|   | 
| void  | draw (float lod, Camera *camera) override | 
|   | 
| virtual Color  | getBottomRightColor () | 
|   | 
| virtual Coord  | getBottomRightPos () | 
|   | 
| virtual Coord  | getCenter () | 
|   | 
| virtual Color  | getTopLeftColor () | 
|   | 
| virtual Coord  | getTopLeftPos () | 
|   | 
| bool  | inRect (double x, double y) | 
|   | 
| virtual void  | setBottomRightColor (const Color &bottomRightCol) | 
|   | 
| virtual void  | setBottomRightPos (const Coord &bottomRightPos) | 
|   | 
| void  | setCenterAndSize (const Coord ¢er, const Size &size) | 
|   | 
| virtual void  | setTopLeftColor (const Color &topLeftCol) | 
|   | 
| virtual void  | setTopLeftPos (const Coord &topLeftPos) | 
|   | 
|   | GlPolygon (const bool filled=true, const bool outlined=true, const std::string &textureName="", const float outlineSize=1) | 
|   | 
|   | GlPolygon (const std::vector< Coord > &points, const std::vector< Color > &fillColors, const std::vector< Color > &outlineColors, const bool filled, const bool outlined, const std::string &textureName="", const float outlineSize=1) | 
|   | 
|   | GlPolygon (const unsigned int nbPoints, const unsigned int nbFillColors, const unsigned int nbOutlineColors, const bool filled=true, const bool outlined=true, const std::string &textureName="", const float outlineSize=1) | 
|   | 
| virtual Coord &  | point (const unsigned int i) | 
|   | 
| virtual const Coord &  | point (const unsigned int i) const | 
|   | 
| virtual void  | resizeColors (const unsigned int nbColors) | 
|   | 
| virtual void  | resizePoints (const unsigned int nbPoints) | 
|   | 
| float  | getOutlineSize () | 
|   | 
| std::string  | getTextureName () | 
|   | 
| void  | setFillColor (const Color &color) | 
|   | 
| void  | setOutlineColor (const Color &color) | 
|   | 
| void  | setOutlineSize (float size) | 
|   | 
| void  | setTextureName (const std::string &name) | 
|   | 
|   | GlSimpleEntity () | 
|   | 
|   | ~GlSimpleEntity () override | 
|   | 
| int  | getStencil () | 
|   | 
| bool  | isVisible () const | 
|   | 
| virtual void  | setStencil (int stencil) | 
|   | 
| virtual void  | setVisible (bool visible) | 
|   | 
Create a 2D rectangle. 
This rect add screen percentage system (for example you can create a rectangle that start on (10%,10%) and finish on (90%90%) If you when a simple 2D rectangle with normal coordinates use GlRect class 
- See also
 - GlRect 
 
Definition at line 38 of file Gl2DRect.h.