path ops : make it real
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Apr 2013 13:34:40 +0000 (13:34 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Apr 2013 13:34:40 +0000 (13:34 +0000)
commit45a75fb4d0ca5daa0ac5e634238970306e3b5838
tree20ec83c238e15edc4e76f57b54030cb671abf864
parent32c1b66a2c4f26935ba59f3afe3e81600fade78d
path ops : make it real

Add an option to SkCanvas to turn on path
ops when combining clips.

Allow Op() to use one of the input paths
as an output path.

Fix a bug in Op() when the minuend is empty
and the subtrahend is not (for difference).

Change the build to allow core to depend on pathops.
Review URL: https://codereview.chromium.org/14474002

git-svn-id: http://skia.googlecode.com/svn/trunk@8855 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/pathopsskpclip.cpp [new file with mode: 0644]
gyp/core.gyp
gyp/core.gypi
gyp/gmslides.gypi
gyp/pathops_unittest.gyp
gyp/tests.gyp
include/core/SkCanvas.h
src/core/SkCanvas.cpp