blob: db2d16fd6e3179a4e9abc73fecc7098789a2eef8 [file] [log] [blame]
bsalomon@google.comaeb21602011-08-30 18:13:44 +00001
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:
joshualitt0cffb172015-09-02 08:42:16 -070016 GrAAHairLinePathRenderer() {}
bsalomon@google.comaeb21602011-08-30 18:13:44 +000017
jvanverth@google.com681ccf02013-08-16 14:51:51 +000018 typedef SkTArray<SkPoint, true> PtArray;
19 typedef SkTArray<int, true> IntArray;
20 typedef SkTArray<float, true> FloatArray;
skia.committer@gmail.com74758112013-08-17 07:01:54 +000021
bsalomon@google.comaeb21602011-08-30 18:13:44 +000022private:
bsalomon0aff2fa2015-07-31 06:48:27 -070023 bool onCanDrawPath(const CanDrawPathArgs&) const override;
24
25 bool onDrawPath(const DrawPathArgs&) override;
26
bsalomon@google.comaeb21602011-08-30 18:13:44 +000027 typedef GrPathRenderer INHERITED;
28};
29
30
31#endif