caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2014 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkTestScalerContext_DEFINED |
| 9 | #define SkTestScalerContext_DEFINED |
| 10 | |
| 11 | #include "SkPaint.h" |
| 12 | #include "SkPath.h" |
| 13 | #include "SkTDArray.h" |
| 14 | #include "SkTypeface.h" |
| 15 | |
| 16 | SkTypeface* CreateTestTypeface(SkPaint::FontMetrics (*funct)(SkTDArray<SkPath*>& pathArray, |
| 17 | SkTDArray<SkFixed>& widthArray), |
| 18 | SkTypeface::Style style); |
| 19 | |
| 20 | #endif |