From aae3cc43780f08f0baab81fe9712a56c5e8a3be3 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 11 Oct 2019 12:12:57 -0400 Subject: [PATCH] docs/fiddle: add "incomplete" fiddle. Change-Id: I66246d6c421cf91b459207d91e4899c4c030e45e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/248159 Reviewed-by: Ben Wagner aka dogben Commit-Queue: Hal Canary --- docs/examples/incomplete.cpp | 9 +++++++++ tools/fiddle/all_examples.cpp | 1 + 2 files changed, 10 insertions(+) create mode 100644 docs/examples/incomplete.cpp diff --git a/docs/examples/incomplete.cpp b/docs/examples/incomplete.cpp new file mode 100644 index 0000000000..5ac92ce4a0 --- /dev/null +++ b/docs/examples/incomplete.cpp @@ -0,0 +1,9 @@ +// Copyright 2019 Google LLC. +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. +#include "tools/fiddle/examples.h" +// HASH=882e8e0103048009a25cfc20400492f7 +REG_FIDDLE(incomplete, 256, 256, false, 0) { +void draw(SkCanvas* canvas) { + // incomplete +} +} // END FIDDLE diff --git a/tools/fiddle/all_examples.cpp b/tools/fiddle/all_examples.cpp index ea8d5fd524..c3148d3994 100644 --- a/tools/fiddle/all_examples.cpp +++ b/tools/fiddle/all_examples.cpp @@ -1071,3 +1071,4 @@ #include "../../docs/examples/Text_Skew_X.cpp" #include "../../docs/examples/Typeface_Methods.cpp" #include "../../docs/examples/Xor.cpp" +#include "../../docs/examples/incomplete.cpp"