gfx/skia/trunk/src/gpu/effects/GrRRectEffect.h
author George Wright <george@mozilla.com>
Mon, 17 Mar 2014 07:34:32 -0400
changeset 193135 dfba3a2480bc41639c0c4e8ef0f90e9925661b18
child 220765 883cd6be06d294600562435ebea87d2804bca957
permissions -rw-r--r--
[PATCH 1/6] Bug 985217 - Update Skia to r13827 r=upstream

/*
 * 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 GrRRectEffect_DEFINED
#define GrRRectEffect_DEFINED

#include "GrTypes.h"
#include "GrTypesPriv.h"

class GrEffectRef;
class SkRRect;

namespace GrRRectEffect {
    /**
     * Creates an effect that performs anti-aliased clipping against a SkRRect. It doesn't support
     * all varieties of SkRRect so the caller must check for a NULL return.
     */
    GrEffectRef* Create(GrEffectEdgeType, const SkRRect&);
};

#endif