Debian Codegraph @

docs/examples/makeRasterImage_fail.cpp

raw
1 // Copyright 2020 Google LLC.
2 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3 #include "tools/fiddle/examples.h"
4 REG_FIDDLE(makeRasterImage_fail, 256, 256, false, 5) {
5 void draw(SkCanvas* canvas) { canvas->drawImage(image->makeRasterImage(nullptr), 0, 0); }
6 } // END FIDDLE