| Index: Source/platform/geometry/FloatPoint.h
|
| diff --git a/Source/platform/geometry/FloatPoint.h b/Source/platform/geometry/FloatPoint.h
|
| index f042f5741e2ab2b6e73a5a62bd6e9dc922e7188c..a83f7e593f8785543a11d497647b928c19764030 100644
|
| --- a/Source/platform/geometry/FloatPoint.h
|
| +++ b/Source/platform/geometry/FloatPoint.h
|
| @@ -133,6 +133,11 @@ public:
|
| return FloatPoint(m_y, m_x);
|
| }
|
|
|
| + FloatPoint scaledBy(float scale) const
|
| + {
|
| + return FloatPoint(m_x * scale, m_y * scale);
|
| + }
|
| +
|
| #if OS(MACOSX)
|
| FloatPoint(const CGPoint&);
|
| operator CGPoint() const;
|
|
|