13
0

canvas; provide Rectangle::{height,width}()

This commit is contained in:
Paul Davis 2021-08-06 21:26:20 -06:00
parent 5ac3d2c581
commit d2b2b73c82

View File

@ -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);