OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 #define __STDC_LIMIT_MACROS | 7 #define __STDC_LIMIT_MACROS |
8 | 8 |
9 #include "SkDraw.h" | 9 #include "SkDraw.h" |
10 #include "SkBlitter.h" | 10 #include "SkBlitter.h" |
11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
12 #include "SkColorPriv.h" | 12 #include "SkColorPriv.h" |
13 #include "SkDevice.h" | 13 #include "SkDevice.h" |
14 #include "SkDeviceLooper.h" | 14 #include "SkDeviceLooper.h" |
15 #include "SkFixed.h" | 15 #include "SkFixed.h" |
16 #include "SkMaskFilter.h" | 16 #include "SkMaskFilter.h" |
17 #include "SkPaint.h" | 17 #include "SkPaint.h" |
18 #include "SkPathEffect.h" | 18 #include "SkPathEffect.h" |
19 #include "SkRasterClip.h" | 19 #include "SkRasterClip.h" |
20 #include "SkRasterizer.h" | 20 #include "SkRasterizer.h" |
21 #include "SkRRect.h" | 21 #include "SkRRect.h" |
22 #include "SkScan.h" | 22 #include "SkScan.h" |
23 #include "SkShader.h" | 23 #include "SkShader.h" |
24 #include "SkSmallAllocator.h" | 24 #include "SkSmallAllocator.h" |
25 #include "SkString.h" | 25 #include "SkString.h" |
26 #include "SkStroke.h" | 26 #include "SkStroke.h" |
| 27 #include "SkStrokeRec.h" |
27 #include "SkTextMapStateProc.h" | 28 #include "SkTextMapStateProc.h" |
28 #include "SkTLazy.h" | 29 #include "SkTLazy.h" |
29 #include "SkUtils.h" | 30 #include "SkUtils.h" |
30 #include "SkVertState.h" | 31 #include "SkVertState.h" |
31 | 32 |
32 #include "SkAutoKern.h" | 33 #include "SkAutoKern.h" |
33 #include "SkBitmapProcShader.h" | 34 #include "SkBitmapProcShader.h" |
34 #include "SkDrawProcs.h" | 35 #include "SkDrawProcs.h" |
35 #include "SkMatrixUtils.h" | 36 #include "SkMatrixUtils.h" |
36 | 37 |
(...skipping 2223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2260 mask->fImage = SkMask::AllocImage(size); | 2261 mask->fImage = SkMask::AllocImage(size); |
2261 memset(mask->fImage, 0, mask->computeImageSize()); | 2262 memset(mask->fImage, 0, mask->computeImageSize()); |
2262 } | 2263 } |
2263 | 2264 |
2264 if (SkMask::kJustComputeBounds_CreateMode != mode) { | 2265 if (SkMask::kJustComputeBounds_CreateMode != mode) { |
2265 draw_into_mask(*mask, devPath, style); | 2266 draw_into_mask(*mask, devPath, style); |
2266 } | 2267 } |
2267 | 2268 |
2268 return true; | 2269 return true; |
2269 } | 2270 } |
OLD | NEW |