OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkTestScalerContext_DEFINED | 8 #ifndef SkTestScalerContext_DEFINED |
9 #define SkTestScalerContext_DEFINED | 9 #define SkTestScalerContext_DEFINED |
10 | 10 |
| 11 #include "SkFixed.h" |
11 #include "SkPaint.h" | 12 #include "SkPaint.h" |
12 #include "SkPath.h" | 13 #include "SkPath.h" |
13 #include "SkRefCnt.h" | 14 #include "SkRefCnt.h" |
14 #include "SkTDArray.h" | 15 #include "SkTDArray.h" |
15 #include "SkTypeface.h" | 16 #include "SkTypeface.h" |
16 | 17 |
17 class SkTestFont; | 18 class SkTestFont; |
18 | 19 |
19 struct SkTestFontData { | 20 struct SkTestFontData { |
20 const SkScalar* fPoints; | 21 const SkScalar* fPoints; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 return 0; | 104 return 0; |
104 } | 105 } |
105 private: | 106 private: |
106 SkTestFont* fTestFont; | 107 SkTestFont* fTestFont; |
107 friend class SkTestScalerContext; | 108 friend class SkTestScalerContext; |
108 }; | 109 }; |
109 | 110 |
110 SkTypeface* CreateTestTypeface(const char* name, SkTypeface::Style style); | 111 SkTypeface* CreateTestTypeface(const char* name, SkTypeface::Style style); |
111 | 112 |
112 #endif | 113 #endif |
OLD | NEW |