summaryrefslogtreecommitdiffstats
path: root/gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h')
-rw-r--r--gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h b/gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
new file mode 100644
index 000000000..e2406a5c0
--- /dev/null
+++ b/gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef GrAAHairLinePathRenderer_DEFINED
+#define GrAAHairLinePathRenderer_DEFINED
+
+#include "GrPathRenderer.h"
+
+class GrAAHairLinePathRenderer : public GrPathRenderer {
+public:
+ GrAAHairLinePathRenderer() {}
+
+ typedef SkTArray<SkPoint, true> PtArray;
+ typedef SkTArray<int, true> IntArray;
+ typedef SkTArray<float, true> FloatArray;
+
+private:
+ bool onCanDrawPath(const CanDrawPathArgs&) const override;
+
+ bool onDrawPath(const DrawPathArgs&) override;
+
+ typedef GrPathRenderer INHERITED;
+};
+
+
+#endif