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:
fmalita 2014-12-09 05:28:20 -08:00 committed by Commit bot
parent 6cd1181bc1
commit ff3106c214

View File

@ -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));
}