summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
index 4656354..3e20a75 100644
--- a/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
@@ -1195,6 +1195,14 @@ AffineTransform GraphicsContext::getCTM() const
SkScalarToDouble(m.getTranslateY())); // f
}
+void GraphicsContext::setCTM(const AffineTransform& transform)
+{
+ if (paintingDisabled())
+ return;
+
+ GC2CANVAS(this)->setMatrix(transform);
+}
+
///////////////////////////////////////////////////////////////////////////////
void GraphicsContext::fillPath(const Path& pathToFill)