[SkDebugger] Show detailed drawImage info
R=robert.phillips@google.com Review URL: https://codereview.chromium.org/1409393007
This commit is contained in:
parent
687378229a
commit
7361bf096e
@ -387,8 +387,13 @@ SkDrawImageCommand::SkDrawImageCommand(const SkImage* image, SkScalar left, SkSc
|
||||
, fLeft(left)
|
||||
, fTop(top) {
|
||||
|
||||
fInfo.push(SkObjectParser::ImageToString(image));
|
||||
fInfo.push(SkObjectParser::ScalarToString(left, "Left: "));
|
||||
fInfo.push(SkObjectParser::ScalarToString(top, "Top: "));
|
||||
|
||||
if (paint) {
|
||||
fPaint.set(*paint);
|
||||
fInfo.push(SkObjectParser::PaintToString(*paint));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user