Index: Source/platform/graphics/Path.cpp |
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp |
index e04f4a8ea7b3752ec08b468f4ab578b7b9a46ae7..15c349d28f7cb7d3c05b8d0b49438722ff50728c 100644 |
--- a/Source/platform/graphics/Path.cpp |
+++ b/Source/platform/graphics/Path.cpp |
@@ -436,6 +436,10 @@ void Path::addBeziersForRoundedRect(const FloatRect& rect, const FloatSize& topL |
closeSubpath(); |
} |
+void Path::addPath(const Path& src, const AffineTransform& transform) |
+{ |
+ m_path.addPath(src.skPath(), affineTransformToSkMatrix(transform)); |
+} |
jbroman
2014/02/18 16:06:47
drive-by nit: newline below this method, please.
pals
2014/02/19 11:47:22
Done.
|
void Path::translate(const FloatSize& size) |
{ |
m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height())); |