add alternative to isRect named asRect
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 25 Jan 2014 16:54:31 +0000 (16:54 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 25 Jan 2014 16:54:31 +0000 (16:54 +0000)
commitc2abd54edadf94bb86e1635a3515089e4a6a8eee
tree731cd65b582e38d39db164570a4d627c18a05cfd
parenteb9a46cbbb475e862a084aa2224ec18d4ac5e95b
add alternative to isRect named asRect

This defines yunchao's proposed interface in terms of
an existing implementation.

BUG=skia:
R=reed@google.com, yunchao.he@intel.com

Author: caryclark@google.com

Review URL: https://codereview.chromium.org/140953003

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