1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef FLUTTER_FLOW_PAINT_UTILS_H_ |
6 | #define FLUTTER_FLOW_PAINT_UTILS_H_ |
7 | |
8 | #include "flutter/display_list/dl_canvas.h" |
9 | #include "third_party/skia/include/core/SkCanvas.h" |
10 | #include "third_party/skia/include/core/SkColor.h" |
11 | #include "third_party/skia/include/core/SkRect.h" |
12 | |
13 | namespace flutter { |
14 | |
15 | typedef void (*CheckerboardFunc)(DlCanvas*, const SkRect&); |
16 | |
17 | void DrawCheckerboard(DlCanvas* canvas, const SkRect& rect); |
18 | |
19 | } // namespace flutter |
20 | |
21 | #endif // FLUTTER_FLOW_PAINT_UTILS_H_ |
22 |