diff options
Diffstat (limited to 'include/tools/gen.hxx')
-rw-r--r-- | include/tools/gen.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index 0165cff1c5b8..fb4a14f1db7b 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -196,6 +196,8 @@ public: void setWidth(long nWidth) { nA = nWidth; } void setHeight(long nHeight) { nB = nHeight; } + bool IsEmpty() const { return nA <= 0 || nB <= 0; } + void extendBy(long x, long y) { nA += x; |