Index: ui/gfx/skia_util.h |
diff --git a/ui/gfx/skia_util.h b/ui/gfx/skia_util.h |
index bd9478fced9aa28f379548689ff3208c3ceec9b8..4a2cfcf20350894a41c978f47099ec78c21073e4 100644 |
--- a/ui/gfx/skia_util.h |
+++ b/ui/gfx/skia_util.h |
@@ -23,6 +23,7 @@ class ImageSkiaRep; |
class Rect; |
class RectF; |
class ShadowValue; |
+class Transform; |
// Convert between Skia and gfx rect types. |
UI_EXPORT SkRect RectToSkRect(const Rect& rect); |
@@ -31,6 +32,9 @@ UI_EXPORT Rect SkIRectToRect(const SkIRect& rect); |
UI_EXPORT SkRect RectFToSkRect(const RectF& rect); |
UI_EXPORT RectF SkRectToRectF(const SkRect& rect); |
+UI_EXPORT void TransformToFlattenedSkMatrix(const gfx::Transform& transform, |
+ SkMatrix* flattened); |
+ |
// Creates a bitmap shader for the image rep with the image rep's scale factor. |
// Sets the created shader's local matrix such that it displays the image rep at |
// the correct scale factor. |