Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 "flutter/display_list/dl_canvas.h"
12
13namespace flutter {
14
15typedef void (*CheckerboardFunc)(DlCanvas*, const SkRect&);
16
17void DrawCheckerboard(DlCanvas* canvas, const SkRect& rect);
18
19} // namespace flutter
20
21#endif // FLUTTER_FLOW_PAINT_UTILS_H_
Developer-facing API for rendering anything within the engine.
Definition dl_canvas.h:37
void(* CheckerboardFunc)(DlCanvas *, const SkRect &)
Definition paint_utils.h:15
void DrawCheckerboard(DlCanvas *canvas, const SkRect &rect)