| Index: experimental/fiddle/draw.cpp
|
| diff --git a/experimental/fiddle/draw.cpp b/experimental/fiddle/draw.cpp
|
| deleted file mode 100644
|
| index 78f428da2a6ad08853d34868500e5586185c571b..0000000000000000000000000000000000000000
|
| --- a/experimental/fiddle/draw.cpp
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -/*
|
| - * Copyright 2015 Google Inc.
|
| - *
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -// This is an example of the translation unit that needs to be
|
| -// assembled by the fiddler program to compile into a fiddle: an
|
| -// implementation of the GetDrawOptions() and draw() functions.
|
| -
|
| -#include "fiddle_main.h"
|
| -DrawOptions GetDrawOptions() {
|
| - // path *should* be absolute.
|
| - static const char path[] = "../../resources/color_wheel.png";
|
| - return DrawOptions(256, 256, true, true, true, true, path);
|
| -}
|
| -void draw(SkCanvas* canvas) {
|
| - canvas->clear(SK_ColorWHITE);
|
| - SkMatrix matrix;
|
| - matrix.setScale(0.75f, 0.75f);
|
| - matrix.preRotate(30.0f);
|
| - SkPaint paint;
|
| - paint.setShader(image->makeShader(SkShader::kRepeat_TileMode,
|
| - SkShader::kRepeat_TileMode,
|
| - &matrix));
|
| - canvas->drawPaint(paint);
|
| -}
|
|
|