/* | |
* Copyright 2014 Google Inc. | |
* | |
* Use of this source code is governed by a BSD-style license that can be | |
* found in the LICENSE file. | |
*/ | |
#include "SkPictureRecorder.h" | |
SkCanvas* SkPictureRecorder::beginRecording(int width, int height, | |
SkBBHFactory* bbhFactory /* = NULL */, | |
uint32_t recordFlags /* = 0 */) { | |
fPicture.reset(SkNEW(SkPicture)); | |
return fPicture->beginRecording(width, height, bbhFactory, recordFlags); | |
} |