OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #ifndef GrAALinearizingConvexPathRenderer_DEFINED | 8 #ifndef GrAALinearizingConvexPathRenderer_DEFINED |
10 #define GrAALinearizingConvexPathRenderer_DEFINED | 9 #define GrAALinearizingConvexPathRenderer_DEFINED |
11 | 10 |
12 #include "GrPathRenderer.h" | 11 #include "GrPathRenderer.h" |
13 | 12 |
14 class GrAALinearizingConvexPathRenderer : public GrPathRenderer { | 13 class GrAALinearizingConvexPathRenderer : public GrPathRenderer { |
15 public: | 14 public: |
16 GrAALinearizingConvexPathRenderer(); | 15 GrAALinearizingConvexPathRenderer(); |
17 | 16 |
18 private: | 17 private: |
19 bool onCanDrawPath(const CanDrawPathArgs&) const override; | 18 bool onCanDrawPath(const CanDrawPathArgs&) const override; |
20 | 19 |
21 bool onDrawPath(const DrawPathArgs&) override; | 20 bool onDrawPath(const DrawPathArgs&) override; |
22 }; | 21 }; |
23 | 22 |
24 #endif | 23 #endif |
OLD | NEW |