canvas; provide Rectangle::{height,width}()
This commit is contained in:
parent
5ac3d2c581
commit
d2b2b73c82
@ -59,6 +59,14 @@ public:
|
||||
return _rect.y1;
|
||||
}
|
||||
|
||||
Distance height() const {
|
||||
return _rect.height();
|
||||
}
|
||||
|
||||
Distance width() const {
|
||||
return _rect.height();
|
||||
}
|
||||
|
||||
void set (Rect const &);
|
||||
void set_x0 (Coord);
|
||||
void set_y0 (Coord);
|
||||
|
Loading…
Reference in New Issue
Block a user