blob: 796ee5befb5790bd8fc586e24f8e5631ff8769df [file] [log] [blame]
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +00001/*
2 * Copyright 2014 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 GrOvalEffect_DEFINED
9#define GrOvalEffect_DEFINED
10
11#include "GrTypes.h"
12#include "GrTypesPriv.h"
13
reed969842a2014-07-07 15:17:49 -070014class GrEffectRef;
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +000015struct SkRect;
16
17namespace GrOvalEffect {
18 /**
19 * Creates an effect that performs clipping against an oval.
20 */
reed969842a2014-07-07 15:17:49 -070021 GrEffectRef* Create(GrEffectEdgeType, const SkRect&);
commit-bot@chromium.org3eedb802014-03-28 15:58:31 +000022};
23
24#endif