diff options
Diffstat (limited to 'base/gfx/rect.h')
-rw-r--r-- | base/gfx/rect.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/gfx/rect.h b/base/gfx/rect.h index a7a3d9c..ac730bd 100644 --- a/base/gfx/rect.h +++ b/base/gfx/rect.h @@ -74,6 +74,9 @@ class Rect { // Shrink the rectangle by a horizontal and vertical distance on all sides. void Inset(int horizontal, int vertical); + // Shrink the rectangle by the specified amount on each side. + void Inset(int left, int top, int right, int bottom); + // Move the rectangle by a horizontal and vertical distance. void Offset(int horizontal, int vertical); |