summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h')
-rw-r--r--chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h b/chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h
new file mode 100644
index 00000000000..796ee5befb5
--- /dev/null
+++ b/chromium/third_party/skia/src/gpu/effects/GrOvalEffect.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef GrOvalEffect_DEFINED
+#define GrOvalEffect_DEFINED
+
+#include "GrTypes.h"
+#include "GrTypesPriv.h"
+
+class GrEffectRef;
+struct SkRect;
+
+namespace GrOvalEffect {
+ /**
+ * Creates an effect that performs clipping against an oval.
+ */
+ GrEffectRef* Create(GrEffectEdgeType, const SkRect&);
+};
+
+#endif