Checked in missing function.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11435 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2005-02-21 17:25:37 +00:00
parent 4879571b0d
commit be79e3899d
+8
View File
@@ -126,3 +126,11 @@ void AddFields(BMessage* to, const BMessage* from, const char* excludeList[], co
}
}
}
BRect ScaleRect(BRect rect, float scale) {
rect.left *= scale;
rect.right *= scale;
rect.top *= scale;
rect.bottom *= scale;
return rect;
}