Line data Source code
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 GrDashLinePathRenderer_DEFINED
9 : #define GrDashLinePathRenderer_DEFINED
10 :
11 : #include "GrPathRenderer.h"
12 :
13 : #include "GrGpu.h"
14 :
15 0 : class GrDashLinePathRenderer : public GrPathRenderer {
16 : private:
17 : bool onCanDrawPath(const CanDrawPathArgs&) const override;
18 :
19 0 : StencilSupport onGetStencilSupport(const GrShape&) const override {
20 0 : return kNoSupport_StencilSupport;
21 : }
22 :
23 : bool onDrawPath(const DrawPathArgs&) override;
24 :
25 : sk_sp<GrGpu> fGpu;
26 : typedef GrPathRenderer INHERITED;
27 : };
28 :
29 :
30 : #endif
|