|
| Gl2DRect () |
|
| Gl2DRect (float top, float bottom, float left, float right, const std::string &textureName, bool inPercent=false) |
|
| Gl2DRect (float bottom, float left, float height, float width, const std::string &textureName, bool xInv, bool yInv) |
|
virtual | ~Gl2DRect () |
|
virtual void | draw (float lod, Camera *camera) |
|
virtual BoundingBox | getBoundingBox () |
|
virtual std::string | getTexture () |
|
virtual void | getXML (std::string &outString) |
|
virtual void | setCoordinates (float bottom, float left, float width, float height) |
|
virtual void | setTexture (const std::string &name) |
|
virtual void | setWithXML (const std::string &inString, unsigned int ¤tPosition) |
|
virtual void | translate (const Coord &mouvement) |
|
| GlRect (const Coord &topLeftPos, const Coord &bottomRightPos, const Color &topLeftCol, const Color &bottomRightCol, bool filled=true, bool outlined=false) |
|
| GlRect (const Coord ¢er, const float width, const float height, const Color &fillColor, const Color &outlineColor) |
|
| GlRect (bool filled=true, bool outlined=false) |
|
virtual | ~GlRect () |
|
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 const Coord & | point (const unsigned int i) const |
|
virtual Coord & | point (const unsigned int i) |
|
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 () |
|
virtual | ~GlSimpleEntity () |
|
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 whan a simple 2D rectangle with normal coordinates use GlRect class
- See Also
- GlRect
Definition at line 37 of file Gl2DRect.h.