Index: sky/engine/core/painting/RRect.cpp |
diff --git a/sky/engine/core/painting/CanvasPath.cpp b/sky/engine/core/painting/RRect.cpp |
similarity index 56% |
copy from sky/engine/core/painting/CanvasPath.cpp |
copy to sky/engine/core/painting/RRect.cpp |
index 145ce801363a2baa7f2fc6e05a58f29f6870f122..671d5e179b75045ae91aa3b5d80f52514d96efcb 100644 |
--- a/sky/engine/core/painting/CanvasPath.cpp |
+++ b/sky/engine/core/painting/RRect.cpp |
@@ -3,16 +3,21 @@ |
// found in the LICENSE file. |
#include "sky/engine/config.h" |
-#include "sky/engine/core/painting/CanvasPath.h" |
+#include "sky/engine/core/painting/RRect.h" |
namespace blink { |
-CanvasPath::CanvasPath() |
+RRect::RRect() |
{ |
} |
-CanvasPath::~CanvasPath() |
+RRect::~RRect() |
{ |
} |
+void RRect::setRectXY(const Rect& rect, float xRad, float yRad) |
+{ |
+ m_rrect.setRectXY(rect.sk_rect, xRad, yRad); |
+} |
+ |
} // namespace blink |