Changeset 78751 in webkit
- Timestamp:
- Feb 16, 2011 4:50:24 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r78747 r78751 1 2011-02-16 Robin Cao <robin.cao@torchmobile.com.cn> 2 3 Reviewed by James Robinson. 4 5 PlatformContextSkia::applyAntiAliasedClipPaths does not work for paths which have evenOdd property 6 https://bugs.webkit.org/show_bug.cgi?id=54336 7 8 We need to take fill type of paths into account when drawing them. 9 10 No new tests, covered by svg/W3C-SVG-1.1/masking-path-05-f.svg. 11 12 * platform/graphics/skia/PlatformContextSkia.cpp: 13 (WebCore::PlatformContextSkia::applyAntiAliasedClipPaths): 14 1 15 2011-02-16 Eric Seidel <eric@webkit.org> 2 16 -
trunk/Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
r78377 r78751 689 689 690 690 for (size_t i = paths.size() - 1; i < paths.size(); --i) { 691 paths[i]. setFillType(SkPath::kInverseWinding_FillType);691 paths[i].toggleInverseFillType(); 692 692 m_canvas->drawPath(paths[i], paint); 693 693 }
Note: See TracChangeset
for help on using the changeset viewer.