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 GrAALinearizingConvexPathRenderer_DEFINED 9 #define GrAALinearizingConvexPathRenderer_DEFINED 10 11 #include "GrPathRenderer.h" 12 13 class GrAALinearizingConvexPathRenderer : public GrPathRenderer { 14 public: 15 GrAALinearizingConvexPathRenderer(); 16 17 private: 18 CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override; 19 20 bool onDrawPath(const DrawPathArgs&) override; 21 }; 22 23 #endif 24