| Index: ui/gfx/rect_f.h
|
| diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h
|
| index 4ee1098bf9c14bc3e3196567170f45e6bbd97ad1..8439eb14da1a2a5f81c1a5478a37a8eeb325654f 100644
|
| --- a/ui/gfx/rect_f.h
|
| +++ b/ui/gfx/rect_f.h
|
| @@ -49,6 +49,15 @@ inline bool operator!=(const RectF& lhs, const RectF& rhs) {
|
| return !(lhs == rhs);
|
| }
|
|
|
| +UI_EXPORT RectF IntersectRects(const RectF& a, const RectF& b);
|
| +UI_EXPORT RectF UnionRects(const RectF& a, const RectF& b);
|
| +UI_EXPORT RectF SubtractRects(const RectF& a, const RectF& b);
|
| +UI_EXPORT RectF ScaleRect(const RectF& r, float x_scale, float y_scale);
|
| +
|
| +inline RectF ScaleRect(const RectF& r, float scale) {
|
| + return ScaleRect(r, scale, scale);
|
| +}
|
| +
|
| #if !defined(COMPILER_MSVC)
|
| extern template class RectBase<RectF, PointF, SizeF, InsetsF, float>;
|
| #endif
|
|
|