Jive reference manual
|
#include <jem/gl/Rect.h>
Public Member Functions | |
Rect () | |
Rect (GLsizei size) | |
Rect (const Size2i &size) | |
Rect (GLsizei width, GLsizei height) | |
Rect (GLint x, GLint y, const Size2i &size) | |
Rect (GLint x, GLint y, GLsizei width, GLsizei height) | |
Rect (const Rect &rhs) | |
Rect & | operator= (const Rect &rhs) |
void | swap (Rect &rhs) |
Size2i | size () const |
void | resize (const Size2i &s) |
bool | isValid () const |
bool | isEmpty () const |
void | makeEmpty () |
GLdouble | aspectRatio () const |
void | draw () const |
bool | contains (GLint x, GLint y) const |
Public Attributes | |
GLint | x |
GLint | y |
GLsizei | width |
GLsizei | height |
jem::gl::Rect::Rect | ( | ) |
|
explicit |
|
explicit |
jem::gl::Rect::Rect | ( | GLsizei | width, |
GLsizei | height | ||
) |
jem::gl::Rect::Rect | ( | GLint | x, |
GLint | y, | ||
const Size2i & | size | ||
) |
jem::gl::Rect::Rect | ( | GLint | x, |
GLint | y, | ||
GLsizei | width, | ||
GLsizei | height | ||
) |
jem::gl::Rect::Rect | ( | const Rect & | rhs | ) |
void jem::gl::Rect::swap | ( | Rect & | rhs | ) |
Size2i jem::gl::Rect::size | ( | ) | const |
void jem::gl::Rect::resize | ( | const Size2i & | s | ) |
bool jem::gl::Rect::isValid | ( | ) | const |
bool jem::gl::Rect::isEmpty | ( | ) | const |
void jem::gl::Rect::makeEmpty | ( | ) |
GLdouble jem::gl::Rect::aspectRatio | ( | ) | const |
void jem::gl::Rect::draw | ( | ) | const |
bool jem::gl::Rect::contains | ( | GLint | x, |
GLint | y | ||
) | const |
GLint jem::gl::Rect::x |
GLint jem::gl::Rect::y |
GLsizei jem::gl::Rect::width |
GLsizei jem::gl::Rect::height |