OLD | NEW |
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 #ifndef SkScanPriv_DEFINED | 10 #ifndef SkScanPriv_DEFINED |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 private: | 24 private: |
25 SkRectClipBlitter fRectBlitter; | 25 SkRectClipBlitter fRectBlitter; |
26 SkRgnClipBlitter fRgnBlitter; | 26 SkRgnClipBlitter fRgnBlitter; |
27 SkBlitter* fBlitter; | 27 SkBlitter* fBlitter; |
28 const SkIRect* fClipRect; | 28 const SkIRect* fClipRect; |
29 }; | 29 }; |
30 | 30 |
31 // clipRect == null means path is entirely inside the clip | 31 // clipRect == null means path is entirely inside the clip |
32 void sk_fill_path(const SkPath& path, const SkIRect* clipRect, | 32 void sk_fill_path(const SkPath& path, const SkIRect* clipRect, |
33 SkBlitter* blitter, int start_y, int stop_y, int shiftEdgesUp, | 33 SkBlitter* blitter, SkTDArray<SkPoint>* points, |
| 34 int start_y, int stop_y, int shiftEdgesUp, |
34 const SkRegion& clipRgn); | 35 const SkRegion& clipRgn); |
35 | 36 |
36 // blit the rects above and below avoid, clipped to clip | 37 // blit the rects above and below avoid, clipped to clip |
37 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); | 38 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); |
38 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); | 39 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); |
39 | 40 |
40 #endif | 41 #endif |
OLD | NEW |