blob: b52d5e9959bf64c3d607d7341f4099092bb34739 [file] [log] [blame]
bsalomon@google.comaeb21602011-08-30 18:13:44 +00001/*
2 * Copyright 2011 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 GrAAHairLinePathRenderer_DEFINED
9#define GrAAHairLinePathRenderer_DEFINED
10
11#include "GrPathRenderer.h"
12
13class GrAAHairLinePathRenderer : public GrPathRenderer {
14public:
joshualitt0cffb172015-09-02 08:42:16 -070015 GrAAHairLinePathRenderer() {}
bsalomon@google.comaeb21602011-08-30 18:13:44 +000016
jvanverth@google.com681ccf02013-08-16 14:51:51 +000017 typedef SkTArray<SkPoint, true> PtArray;
18 typedef SkTArray<int, true> IntArray;
19 typedef SkTArray<float, true> FloatArray;
skia.committer@gmail.com74758112013-08-17 07:01:54 +000020
bsalomon@google.comaeb21602011-08-30 18:13:44 +000021private:
Chris Dalton5ed44232017-09-07 13:22:46 -060022 CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
bsalomon0aff2fa2015-07-31 06:48:27 -070023
24 bool onDrawPath(const DrawPathArgs&) override;
25
bsalomon@google.comaeb21602011-08-30 18:13:44 +000026 typedef GrPathRenderer INHERITED;
27};
28
29
30#endif