Display text blob bounds in the debugger.
Also fix YPOS. R=robertphillips@google.com,jbroman@chromium.org Review URL: https://codereview.chromium.org/786083002
This commit is contained in:
parent
6cd1181bc1
commit
ff3106c214
@ -653,7 +653,8 @@ SkDrawTextBlobCommand::SkDrawTextBlobCommand(const SkTextBlob* blob, SkScalar x,
|
||||
|
||||
// FIXME: push blob info
|
||||
fInfo.push(SkObjectParser::ScalarToString(x, "XPOS: "));
|
||||
fInfo.push(SkObjectParser::ScalarToString(x, "YPOS: "));
|
||||
fInfo.push(SkObjectParser::ScalarToString(y, "YPOS: "));
|
||||
fInfo.push(SkObjectParser::RectToString(fBlob->bounds(), "Bounds: "));
|
||||
fInfo.push(SkObjectParser::PaintToString(paint));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user