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 "SkScan.h" | 9 #include "SkScan.h" |
11 #include "SkBlitter.h" | 10 #include "SkBlitter.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 99 } |
101 | 100 |
102 if (clip.isBW()) { | 101 if (clip.isBW()) { |
103 FillRect(r, &clip.bwRgn(), blitter); | 102 FillRect(r, &clip.bwRgn(), blitter); |
104 return; | 103 return; |
105 } | 104 } |
106 | 105 |
107 SkAAClipBlitterWrapper wrapper(clip, blitter); | 106 SkAAClipBlitterWrapper wrapper(clip, blitter); |
108 FillRect(r, &wrapper.getRgn(), wrapper.getBlitter()); | 107 FillRect(r, &wrapper.getRgn(), wrapper.getBlitter()); |
109 } | 108 } |
OLD | NEW |