autocommit 2022-04-20 18:33:59 CEST
This commit is contained in:
parent
1227ede560
commit
34e665cd8b
9 changed files with 82 additions and 15 deletions
|
|
@ -69,6 +69,7 @@ impl Region {
|
|||
})
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn extents(&self) -> Rect {
|
||||
self.extents
|
||||
}
|
||||
|
|
@ -576,6 +577,7 @@ impl RegionBuilder {
|
|||
self.base.clone()
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn clear(&mut self) {
|
||||
self.pending.clear();
|
||||
self.base = Region::empty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue