commit | a5e55925ea03e76885804bda77408a1d6f04c335 | [log] [tgz] |
---|---|---|
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 07 18:51:31 2013 +0000 |
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 07 18:51:31 2013 +0000 |
tree | 346772e0d28a5483ca807742cf5e074cf3fb0bb5 | |
parent | 3faf1f1fb6157c49bd09cd3c78dc88421e70deb7 [diff] [blame] |
path ops -- fix skp bugs This fixes a series of bugs discovered by running the small set of Skia skp files through pathops to flatten the clips. Review URL: https://codereview.chromium.org/14798004 git-svn-id: http://skia.googlecode.com/svn/trunk@9042 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pathops/SkPathWriter.h b/src/pathops/SkPathWriter.h index f90a580..5747082 100644 --- a/src/pathops/SkPathWriter.h +++ b/src/pathops/SkPathWriter.h
@@ -20,6 +20,7 @@ bool hasMove() const; void init(); bool isClosed() const; + bool isEmpty() const { return fEmpty; } void lineTo(); const SkPath* nativePath() const; void nudge();