projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd1181
)
Display text blob bounds in the debugger.
author
fmalita
<fmalita@chromium.org>
Tue, 9 Dec 2014 13:28:20 +0000
(
05:28
-0800)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 9 Dec 2014 13:28:20 +0000
(
05:28
-0800)
Also fix YPOS.
R=robertphillips@google.com,jbroman@chromium.org
Review URL: https://codereview.chromium.org/
786083002
src/utils/debugger/SkDrawCommand.cpp
patch
|
blob
|
history
diff --git
a/src/utils/debugger/SkDrawCommand.cpp
b/src/utils/debugger/SkDrawCommand.cpp
index
142c4a4
..
08a9718
100644
(file)
--- a/
src/utils/debugger/SkDrawCommand.cpp
+++ b/
src/utils/debugger/SkDrawCommand.cpp
@@
-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));
}