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

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