Flutter Engine
paint_utils.h
Go to the documentation of this file.
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 "third_party/skia/include/core/SkCanvas.h"
9 #include "third_party/skia/include/core/SkColor.h"
10 #include "third_party/skia/include/core/SkRect.h"
11 
12 namespace flutter {
13 
14 void DrawCheckerboard(SkCanvas* canvas, SkColor c1, SkColor c2, int size);
15 
16 void DrawCheckerboard(SkCanvas* canvas, const SkRect& rect);
17 
18 } // namespace flutter
19 
20 #endif // FLUTTER_FLOW_PAINT_UTILS_H_
constexpr std::size_t size(T(&array)[N])
Definition: size.h:13
void DrawCheckerboard(SkCanvas *canvas, SkColor c1, SkColor c2, int size)
Definition: paint_utils.cc:28