mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 20:34:26 +01:00
Add a new image size mode (nothing here uses it though). Also add Bounds.Expand
This commit is contained in:
1 parent
a72858d15e
commit
5becb9a4be
2 files changed
+4
No files matched your search
@@ -59,6 +59,9 @@ struct Bounds {
|
||||
Point Center() const {
|
||||
return Point(centerX(), centerY());
|
||||
}
|
||||
Bounds Expand(float amount) const {
|
||||
return Bounds(x - amount, y - amount, w + amount * 2, h + amount * 2);
|
||||
}
|
||||
|
||||
float x;
|
||||
float y;
|
||||
|
||||
Reference in new issue
Block a user