Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: base/gfx/skia_utils_mac.h

Issue 5644: Add platform_canvas_unittest.cc (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/gfx/skia_utils_mac.h
===================================================================
--- base/gfx/skia_utils_mac.h (revision 2768)
+++ base/gfx/skia_utils_mac.h (working copy)
@@ -9,6 +9,7 @@
#include "SkColor.h"
#include <CoreGraphics/CGColor.h>
+struct SkMatrix;
struct SkIRect;
struct SkPoint;
struct SkRect;
@@ -26,6 +27,9 @@
inline const SkPoint& CGPointToSkPoint(const CGPoint& point) {
return reinterpret_cast<const SkPoint&>(point);
}
+
+// Matrix converters.
+CGAffineTransform SkMatrixToCGAffineTransform(const SkMatrix& matrix);
// Rectangle converters.
SkRect CGRectToSkRect(const CGRect& rect);

Powered by Google App Engine
This is Rietveld 408576698