1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Tidied up a few rectangle methods.

This commit is contained in:
jules 2012-03-18 17:22:05 +00:00
parent 49870de020
commit e87f833183
4 changed files with 17 additions and 19 deletions

View file

@ -411,7 +411,7 @@ public:
const int bottom = env->GetIntField (rect, RectClass.bottom);
env->DeleteLocalRef (rect);
return Rectangle<int> (left, top, right - left, bottom - top);
return Rectangle<int>::leftTopRightBottom (left, top, right, bottom);
}
bool isClipEmpty() const