michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #include "SkNullCanvas.h" michael@0: michael@0: #include "SkCanvas.h" michael@0: #include "SkNWayCanvas.h" michael@0: michael@0: michael@0: SkCanvas* SkCreateNullCanvas() { michael@0: // An N-Way canvas forwards calls to N canvas's. When N == 0 it's michael@0: // effectively a null canvas. michael@0: return SkNEW_ARGS(SkNWayCanvas, (0,0)); michael@0: }