OLD | NEW |
| (Empty) |
1 | |
2 /* | |
3 * Copyright 2015 Google Inc. | |
4 * | |
5 * Use of this source code is governed by a BSD-style license that can be | |
6 * found in the LICENSE file. | |
7 */ | |
8 | |
9 #ifndef GrDashLinePathRenderer_DEFINED | |
10 #define GrDashLinePathRenderer_DEFINED | |
11 | |
12 #include "GrPathRenderer.h" | |
13 | |
14 class GrDashLinePathRenderer : public GrPathRenderer { | |
15 private: | |
16 bool onCanDrawPath(const CanDrawPathArgs&) const override; | |
17 | |
18 StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const
override { | |
19 return kNoSupport_StencilSupport; | |
20 } | |
21 | |
22 bool onDrawPath(const DrawPathArgs&) override; | |
23 | |
24 SkAutoTUnref<GrGpu> fGpu; | |
25 typedef GrPathRenderer INHERITED; | |
26 }; | |
27 | |
28 | |
29 #endif | |
OLD | NEW |