aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-25 20:42:37 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-25 20:42:37 +0000
commitb8b830e012d5009bc2ac195f2ac5309f8ae7bb4a (patch)
tree043b93f5b805c37211eb7bb07ca77a6633d00c25 /samplecode
parent79fb9c085c11f8bb94a27c806668cd4f4295bd41 (diff)
dump strokeWidth in SkDumpCanvas
git-svn-id: http://skia.googlecode.com/svn/trunk@9756 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SamplePictFile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp
index c82d03e3ea..847894ce1a 100644
--- a/samplecode/SamplePictFile.cpp
+++ b/samplecode/SamplePictFile.cpp
@@ -49,6 +49,8 @@ class PictFileView : public SampleView {
SkFILEStream stream(path);
if (stream.isValid()) {
pic = SkNEW_ARGS(SkPicture, (&stream, NULL, &SkImageDecoder::DecodeMemory));
+ } else {
+ SkDebugf("coun't load picture at \"path\"\n", path);
}
if (false) { // re-record