LEFT | RIGHT |
(no file at all) | |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 "SkRasterizer.h" | 10 #include "SkRasterizer.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 /* Our default implementation of the virtual method just scan converts | 38 /* Our default implementation of the virtual method just scan converts |
39 */ | 39 */ |
40 bool SkRasterizer::onRasterize(const SkPath& fillPath, const SkMatrix& matrix, | 40 bool SkRasterizer::onRasterize(const SkPath& fillPath, const SkMatrix& matrix, |
41 const SkIRect* clipBounds, | 41 const SkIRect* clipBounds, |
42 SkMask* mask, SkMask::CreateMode mode) { | 42 SkMask* mask, SkMask::CreateMode mode) { |
43 SkPath devPath; | 43 SkPath devPath; |
44 ···· | 44 ···· |
45 fillPath.transform(matrix, &devPath); | 45 fillPath.transform(matrix, &devPath); |
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, | 46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, |
47 SkPaint::kFill_Style); | 47 SkPaint::kFill_Style, NULL); |
48 } | 48 } |
49 | 49 |
LEFT | RIGHT |