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

Side by Side Diff: src/fonts/SkTestScalerContext.h

Issue 1841123002: Reverse dependency between SkScalar.h and SkFixed.h (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « src/effects/SkTableMaskFilter.cpp ('k') | src/gpu/GrGlyph.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/effects/SkTableMaskFilter.cpp ('k') | src/gpu/GrGlyph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698