diff options
Diffstat (limited to 'samplecode/SamplePictFile.cpp')
| -rw-r--r-- | samplecode/SamplePictFile.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp index 453624ec74..df0c369736 100644 --- a/samplecode/SamplePictFile.cpp +++ b/samplecode/SamplePictFile.cpp @@ -136,6 +136,12 @@ private: SkDebugf("coun't load picture at \"path\"\n", path); } + if (false) { + SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()), + SkScalarCeilToInt(pic->cullRect().height())); + surf->getCanvas()->drawPicture(pic); + surf->unref(); + } if (false) { // re-record SkPictureRecorder recorder; pic->playback(recorder.beginRecording(pic->cullRect().width(), |
