mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
22 lines
644 B
C++
22 lines
644 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef FLUTTER_FLOW_PAINT_UTILS_H_
|
|
#define FLUTTER_FLOW_PAINT_UTILS_H_
|
|
|
|
#include "flutter/display_list/dl_canvas.h"
|
|
#include "third_party/skia/include/core/SkCanvas.h"
|
|
#include "third_party/skia/include/core/SkColor.h"
|
|
#include "third_party/skia/include/core/SkRect.h"
|
|
|
|
namespace flutter {
|
|
|
|
typedef void (*CheckerboardFunc)(DlCanvas*, const SkRect&);
|
|
|
|
void DrawCheckerboard(DlCanvas* canvas, const SkRect& rect);
|
|
|
|
} // namespace flutter
|
|
|
|
#endif // FLUTTER_FLOW_PAINT_UTILS_H_
|