Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(37)

Delta Between Two Patch Sets: src/core/SkRasterizer.cpp

Issue 5981063: Fix shadow blurs of RGBA bitmaps Base URL: http://skia.googlecode.com/svn/trunk/
Left Patch Set: fixes per tom's comments; handle zoom case; cleanup Created 12 years, 9 months ago
Right Patch Set: Handle SkBitmapProcShaders in drawPath() Created 12 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/core/SkMaskFilter.cpp ('k') | src/effects/SkLayerRasterizer.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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
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
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b