Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
float precision.
More...
#include <Rect.hpp>

Public Member Functions | |
| virtual const char * | className () |
| RectF () | |
| RectF (float x, float y, float width, float height) | |
| RectF (const RectF &other) | |
| RectF (const Rect< float > &other) | |
| operator Rect< float > () const | |
| RectF & | operator= (const Rect< float > &other) |
| RectF & | operator= (const RectF &other) |
| float | top () const |
| float | right () const |
| fvec2 | bottomLeft () const |
| fvec2 | topRight () const |
| void | addPoint (const fvec2 &p) |
float precision.
This class is mainly used to manipulate rectangles in real coordinates (as opposed to pixel coordinates). The RectI and RectF differ in the following way:
| vl::RectF::RectF | ( | ) | [inline] |
| vl::RectF::RectF | ( | float | x, | |
| float | y, | |||
| float | width, | |||
| float | height | |||
| ) | [inline] |
| vl::RectF::RectF | ( | const RectF & | other | ) | [inline] |
| vl::RectF::RectF | ( | const Rect< float > & | other | ) | [inline] |
| virtual const char* vl::RectF::className | ( | ) | [inline, virtual] |
Reimplemented from vl::Rect< float >.
| vl::RectF::operator Rect< float > | ( | ) | const [inline] |
| float vl::RectF::top | ( | ) | const [inline] |
Reimplemented from vl::Rect< float >.
| float vl::RectF::right | ( | ) | const [inline] |
Reimplemented from vl::Rect< float >.
| fvec2 vl::RectF::bottomLeft | ( | ) | const [inline] |
| fvec2 vl::RectF::topRight | ( | ) | const [inline] |
| void vl::RectF::addPoint | ( | const fvec2 & | p | ) | [inline] |