add two nested rect detector to path
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Nov 2012 13:06:06 +0000 (13:06 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Nov 2012 13:06:06 +0000 (13:06 +0000)
commit56f233ab54d228f3ce05d0f7e15996424f9d5dd2
tree7623a217ca8a88afe7f073c83933a87cdd07714d
parent15423544879e141e76ab8c0ab478d52a17a42e7b
add two nested rect detector to path

Tease apart existing one rect path detector so
that a new variant can detect two nested rects as well.

Add tests to verify that both one and two rect
detectors both work and return the correct results.

Suppress other warnings in PathTest.
Review URL: https://codereview.appspot.com/6850059

git-svn-id: http://skia.googlecode.com/svn/trunk@6475 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkPath.h
src/core/SkPath.cpp
tests/PathTest.cpp