Flutter Engine
The Flutter Engine
DashLinePathRenderer.h
Go to the documentation of this file.
1/*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef skgpu_ganesh_DashLinePathRenderer_DEFINED
9#define skgpu_ganesh_DashLinePathRenderer_DEFINED
10
12
13namespace skgpu::ganesh {
14
16public:
18
19 const char* name() const override { return "DashLine"; }
20
21private:
22 CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
23
24 StencilSupport onGetStencilSupport(const GrStyledShape&) const override {
26 }
27
28 bool onDrawPath(const DrawPathArgs&) override;
29};
30
31} // namespace skgpu::ganesh
32
33#endif // skgpu_ganesh_DashLinePathRenderer_DEFINED
const char * name() const override