Upgrade debugger to print more SkPath info (isOval & isRRect)
Review URL: https://codereview.chromium.org/1470063002
This commit is contained in:
parent
4870e6d4c9
commit
3d2e65439e
@ -159,6 +159,19 @@ SkString* SkObjectParser::PathToString(const SkPath& path) {
|
||||
mPath->append("isNotRect, ");
|
||||
}
|
||||
|
||||
if (path.isOval(nullptr)) {
|
||||
mPath->append("isOval, ");
|
||||
} else {
|
||||
mPath->append("isNotOval, ");
|
||||
}
|
||||
|
||||
SkRRect rrect;
|
||||
if (path.isRRect(&rrect)) {
|
||||
mPath->append("isRRect, ");
|
||||
} else {
|
||||
mPath->append("isNotRRect, ");
|
||||
}
|
||||
|
||||
mPath->appendS32(path.countVerbs());
|
||||
mPath->append("V, ");
|
||||
mPath->appendS32(path.countPoints());
|
||||
|
Loading…
Reference in New Issue
Block a user