OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 GrAAConvexPathRenderer_DEFINED | 8 #ifndef GrAAConvexPathRenderer_DEFINED |
10 #define GrAAConvexPathRenderer_DEFINED | 9 #define GrAAConvexPathRenderer_DEFINED |
11 | 10 |
12 #include "GrPathRenderer.h" | 11 #include "GrPathRenderer.h" |
13 | 12 |
14 class GrAAConvexPathRenderer : public GrPathRenderer { | 13 class GrAAConvexPathRenderer : public GrPathRenderer { |
15 public: | 14 public: |
16 GrAAConvexPathRenderer(); | 15 GrAAConvexPathRenderer(); |
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 |