diff options
author | 2011-03-02 15:58:18 +0000 | |
---|---|---|
committer | 2011-03-02 15:58:18 +0000 | |
commit | 55b6b58d8f6e7529c9b9cea606a6e3637c8e2e39 (patch) | |
tree | 8c53f352afb649fb8472964b4887636add54e069 /src/core/SkScanPriv.h | |
parent | 7239aab311e180960e48de8586b03e261741cc14 (diff) |
Fix inverse scanconversion -- be sure to keep our calls to SkBlitter in scanline
order (top to bottom), since the region blitter explicitly requires this.
git-svn-id: http://skia.googlecode.com/svn/trunk@876 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkScanPriv.h')
-rw-r--r-- | src/core/SkScanPriv.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/SkScanPriv.h b/src/core/SkScanPriv.h index 74c2ee768e..e78feed6c9 100644 --- a/src/core/SkScanPriv.h +++ b/src/core/SkScanPriv.h @@ -2,16 +2,16 @@ ** ** Copyright 2006, The Android Open Source Project ** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at ** -** http://www.apache.org/licenses/LICENSE-2.0 +** http://www.apache.org/licenses/LICENSE-2.0 ** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and ** limitations under the License. */ @@ -40,9 +40,9 @@ void sk_fill_path(const SkPath& path, const SkIRect* clipRect, SkBlitter* blitter, int start_y, int stop_y, int shiftEdgesUp, const SkRegion& clipRgn); -// blit the rects above and below avoid, clipped to clp -void sk_blit_above_and_below(SkBlitter* blitter, const SkIRect& avoid, - const SkRegion& clip); +// blit the rects above and below avoid, clipped to clip +void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); +void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip); #endif |