1 2/* 3 * Copyright 2011 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 GrAAHairLinePathRenderer_DEFINED 10#define GrAAHairLinePathRenderer_DEFINED 11 12#include "GrPathRenderer.h" 13 14class GrAAHairLinePathRenderer : public GrPathRenderer { 15public: 16 GrAAHairLinePathRenderer() {} 17 18 typedef SkTArray<SkPoint, true> PtArray; 19 typedef SkTArray<int, true> IntArray; 20 typedef SkTArray<float, true> FloatArray; 21 22private: 23 bool onCanDrawPath(const CanDrawPathArgs&) const override; 24 25 bool onDrawPath(const DrawPathArgs&) override; 26 27 typedef GrPathRenderer INHERITED; 28}; 29 30 31#endif 32