| /* |
| * Copyright 2011 Google Inc. |
| * |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| |
| #ifndef GrAAHairLinePathRenderer_DEFINED |
| #define GrAAHairLinePathRenderer_DEFINED |
| |
| #include "src/gpu/GrPathRenderer.h" |
| |
| class GrAAHairLinePathRenderer : public GrPathRenderer { |
| public: |
| GrAAHairLinePathRenderer() {} |
| |
| typedef SkTArray<SkPoint, true> PtArray; |
| typedef SkTArray<int, true> IntArray; |
| typedef SkTArray<float, true> FloatArray; |
| |
| private: |
| CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override; |
| |
| bool onDrawPath(const DrawPathArgs&) override; |
| |
| typedef GrPathRenderer INHERITED; |
| }; |
| |
| |
| #endif |