| ROLAND
    0.70
    Amstrad Emulator based on Caprice Source rewritten in C++. | 
#include <rect.h>
 
  
 | Public Member Functions | |
| Rect () ROLAND_DEFAULT Rect(const Point &origin | |
| Standard Constructor.  More... | |
| Rect (Sint16 x, Sint16 y, Uint16 w, Uint16 h) | |
| Rect (Sint16 x, Sint16 y, const Size &size) | |
| Rect (SDL_Rect *rect) | |
| Rect (const Rect &rect) | |
| ~Rect () ROLAND_DEFAULT void set(Sint16 x | |
| Standard Destructor. Does nothing.  More... | |
| void | set (const Point &pos) | 
| void | set (const Size &size) | 
| void | set (const Point &pos, const Size &size) | 
| void | setOrigin (Sint16 x, Sint16 y) | 
| void | setOrigin (const Point &origin) | 
| void | setPos (Sint16 x, Sint16 y) | 
| void | setPos (const Point &pos) | 
| void | setSize (Uint16 w, Uint16 h) | 
| void | setSize (const Size &size) | 
| void | setX (Sint16 x) | 
| void | setY (Sint16 y) | 
| void | setWidth (Uint16 w) | 
| void | setHeight (Uint16 h) | 
| Point | origin () const | 
| Point | pos () const | 
| Size | size () const | 
| Sint16 | x () const | 
| Sint16 | y () const | 
| Uint16 | width () const | 
| Uint16 | height () const | 
| Sint16 | x2 () const | 
| Sint16 | y2 () const | 
| bool | inside (const Point &p) const | 
| bool | inside (Uint16 x, Uint16 y) const | 
| Public Attributes | |
| const Size & | size { SDL_Rect::x = origin.x() | 
| Sint16 | y | 
| Sint16 Uint16 | w | 
| Sint16 Uint16 Uint16 | h {SDL_Rect::x = x | 
Defines a rect (x, y, width, height) author Fred Klaus
| Rect | ( | ) | const | 
Standard Constructor.
| 
 | inline | 
References Size::height(), Size::width(), x, Rect::x(), y, and Rect::y().
Copyconstructor. A deep copy will done, so it's save to init Rect with itself.
References Rect::height(), ROLAND_DEFAULT, Rect::width(), x, Rect::x(), y, Rect::y, and Rect::~Rect().
| ~Rect | ( | ) | 
Standard Destructor. Does nothing.
Referenced by Rect::Rect().
| 
 | inline | 
| 
 | inline | 
References x, Point::y, and y.
Referenced by CanvasStd::line(), List::reposition(), and Rect::y2().
| 
 | inline | 
Referenced by Label::drawBackground(), Label::drawText(), Widget::pos(), Rect::set(), and Label::setBorder().
| 
 | inline | 
References Rect::pos(), x, Point::y, and y.
Referenced by CanvasStd::clearClipRect(), CanvasGL::clearClipRect(), Label::Label(), Widget::Widget(), and Canvas::write().
| 
 | inline | 
References Size::height(), and Size::width().
References Size::height(), Size::width(), x, and y.
| 
 | inline | 
References Rect::h.
Referenced by ImageFont::ImageFont(), List::reposition(), Label::setBorder(), and Widget::setSize().
| 
 | inline | 
References x, Rect::x(), y, and Rect::y().
Referenced by ImageFont::ImageFont(), and ListItem::reset().
| 
 | inline | 
References Rect::h, and Rect::w.
Referenced by Label::setImage().
| 
 | inline | 
References Size::height(), and Size::width().
| 
 | inline | 
References Rect::w.
Referenced by List::add(), ImageFont::ImageFont(), Label::setBorder(), and Widget::setSize().
| 
 | inline | 
Referenced by Label::move(), Label::setBorder(), Label::setPos(), and Widget::setPos().
| 
 | inline | 
Referenced by Label::move(), List::reposition(), Label::setBorder(), Label::setPos(), and Widget::setPos().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
References x.
Referenced by Label::drawText(), CanvasStd::fill(), CanvasGL::fill(), CanvasStd::hLine(), CanvasGL::image(), CanvasStd::rect(), CanvasGL::rect(), Rect::Rect(), Widget::relativePos(), Label::setBorder(), CanvasGL::setClipRect(), Rect::setOrigin(), Rect::setPos(), Rect::setX(), CanvasStd::vLine(), Canvas::write(), and Widget::x().
| 
 | inline | 
References x.
| 
 | inline | 
References y.
Referenced by Rect::Rect(), Rect::setOrigin(), Rect::setPos(), and Rect::setY().
| 
 | inline | 
References Rect::inside(), and y.
| Sint16 Uint16 Uint16 h {SDL_Rect::x = x | 
Referenced by Rect::Rect(), Rect::setHeight(), and Rect::setSize().
| const Size& size { SDL_Rect::x = origin.x() | 
Referenced by Widget::size(), and Canvas::write().
| Sint16 Uint16 w | 
Referenced by Rect::Rect(), Rect::setSize(), and Rect::setWidth().
| Sint16 y | 
 1.8.11
 1.8.11