OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #include "SkScanPriv.h" | 9 #include "SkScanPriv.h" |
11 #include "SkPath.h" | 10 #include "SkPath.h" |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 AntiFillPath(path, clip.bwRgn(), blitter); | 759 AntiFillPath(path, clip.bwRgn(), blitter); |
761 } else { | 760 } else { |
762 SkRegion tmp; | 761 SkRegion tmp; |
763 SkAAClipBlitter aaBlitter; | 762 SkAAClipBlitter aaBlitter; |
764 | 763 |
765 tmp.setRect(clip.getBounds()); | 764 tmp.setRect(clip.getBounds()); |
766 aaBlitter.init(blitter, &clip.aaRgn()); | 765 aaBlitter.init(blitter, &clip.aaRgn()); |
767 SkScan::AntiFillPath(path, tmp, &aaBlitter, true); | 766 SkScan::AntiFillPath(path, tmp, &aaBlitter, true); |
768 } | 767 } |
769 } | 768 } |
OLD | NEW |