1
0
Fork 0
forked from wry/wry

autocommit 2022-04-02 19:38:13 CEST

This commit is contained in:
Julian Orth 2022-04-02 19:38:13 +02:00
parent 6ad6d83b7e
commit 6de9fb8303
18 changed files with 112 additions and 51 deletions

View file

@ -178,4 +178,8 @@ impl Rect {
pub fn height(&self) -> i32 {
self.y2 - self.y1
}
pub fn position(&self) -> (i32, i32) {
(self.x1, self.y1)
}
}