Index: src/fonts/SkTestScalerContext.h |
diff --git a/src/fonts/SkTestScalerContext.h b/src/fonts/SkTestScalerContext.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa44defbfb969227b3300784dcea8817a6c33087 |
--- /dev/null |
+++ b/src/fonts/SkTestScalerContext.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkTestScalerContext_DEFINED |
+#define SkTestScalerContext_DEFINED |
+ |
+#include "SkPaint.h" |
+#include "SkPath.h" |
+#include "SkTDArray.h" |
+#include "SkTypeface.h" |
+ |
+SkTypeface* CreateTestTypeface(SkPaint::FontMetrics (*funct)(SkTDArray<SkPath*>& pathArray, |
+ SkTDArray<SkFixed>& widthArray), |
+ SkTypeface::Style style); |
+ |
+#endif |