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

Side by Side Diff: src/core/SkAdvancedTypefaceMetrics.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « samplecode/SampleStringArt.cpp ('k') | src/core/SkAnnotation.cpp » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkAdvancedTypefaceMetrics.h" 10 #include "SkAdvancedTypefaceMetrics.h"
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 #if defined(SK_BUILD_FOR_WIN) 13 #if defined(SK_BUILD_FOR_WIN)
14 #include <dwrite.h> 14 #include <dwrite.h>
15 #endif 15 #endif
16 16
17 #if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) 17 #if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
18 // forward declare structs needed for getAdvanceData() template for freetype 18 // forward declare structs needed for getAdvanceData() template for freetype
19 struct FT_FaceRec; 19 struct FT_FaceRec_;
20 typedef struct FT_FaceRec_* FT_Face; 20 typedef struct FT_FaceRec_* FT_Face;
21 #endif 21 #endif
22 22
23 #ifdef SK_BUILD_FOR_MAC 23 #ifdef SK_BUILD_FOR_MAC
24 #import <ApplicationServices/ApplicationServices.h> 24 #import <ApplicationServices/ApplicationServices.h>
25 #endif 25 #endif
26 26
27 #ifdef SK_BUILD_FOR_IOS 27 #ifdef SK_BUILD_FOR_IOS
28 #include <CoreText/CoreText.h> 28 #include <CoreText/CoreText.h>
29 #include <CoreGraphics/CoreGraphics.h> 29 #include <CoreGraphics/CoreGraphics.h>
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 // additional declaration needed for testing with a face of an unknown type 309 // additional declaration needed for testing with a face of an unknown type
310 template SkAdvancedTypefaceMetrics::WidthRange* getAdvanceData( 310 template SkAdvancedTypefaceMetrics::WidthRange* getAdvanceData(
311 void* fontData, 311 void* fontData,
312 int num_glyphs, 312 int num_glyphs,
313 const uint32_t* subsetGlyphIDs, 313 const uint32_t* subsetGlyphIDs,
314 uint32_t subsetGlyphIDsLength, 314 uint32_t subsetGlyphIDsLength,
315 bool (*getAdvance)(void* fontData, int gId, int16_t* data)); 315 bool (*getAdvance)(void* fontData, int gId, int16_t* data));
316 316
317 } // namespace skia_advanced_typeface_metrics_utils 317 } // namespace skia_advanced_typeface_metrics_utils
OLDNEW
« no previous file with comments | « samplecode/SampleStringArt.cpp ('k') | src/core/SkAnnotation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698