Flutter Engine
The Flutter Engine
AAConvexPathRenderer.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 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 AAConvexPathRenderer_DEFINED
9#define AAConvexPathRenderer_DEFINED
10
12
13namespace skgpu::ganesh {
14
15class AAConvexPathRenderer final : public PathRenderer {
16public:
18
19 const char* name() const override { return "AAConvex"; }
20
21private:
22 CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
23
24 bool onDrawPath(const DrawPathArgs&) override;
25};
26
27} // namespace skgpu::ganesh
28
29#endif // AAConvexPathRenderer_DEFINED
const char * name() const override