blob: 5d51d6c98aea8360bd8e07f04990bba19754208d [file] [log] [blame]
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +00001
2/*
3 * Copyright 2012 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
george9eb182a2014-06-20 12:01:06 -07009#ifndef GrAAConvexPathRenderer_DEFINED
10#define GrAAConvexPathRenderer_DEFINED
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000011
george9eb182a2014-06-20 12:01:06 -070012#include "GrPathRenderer.h"
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000013
14class GrAAConvexPathRenderer : public GrPathRenderer {
15public:
16 GrAAConvexPathRenderer();
bsalomon@google.comc2099d22012-03-02 21:26:50 +000017
bsalomon0aff2fa2015-07-31 06:48:27 -070018private:
19 bool onCanDrawPath(const CanDrawPathArgs&) const override;
robertphillips@google.comfa662942012-05-17 12:20:22 +000020
bsalomon0aff2fa2015-07-31 06:48:27 -070021 bool onDrawPath(const DrawPathArgs&) override;
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000022};
george9eb182a2014-06-20 12:01:06 -070023
24#endif