Home | History | Annotate | Download | only in core
      1 /*
      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 SkBlurTypes_DEFINED
      9 #define SkBlurTypes_DEFINED
     10 
     11 #include "SkTypes.h"
     12 
     13 enum SkBlurStyle {
     14     kNormal_SkBlurStyle,  //!< fuzzy inside and outside
     15     kSolid_SkBlurStyle,   //!< solid inside, fuzzy outside
     16     kOuter_SkBlurStyle,   //!< nothing inside, fuzzy outside
     17     kInner_SkBlurStyle,   //!< fuzzy inside, nothing outside
     18 
     19     kLastEnum_SkBlurStyle = kInner_SkBlurStyle
     20 };
     21 
     22 enum SkBlurQuality {
     23     kLow_SkBlurQuality,     //!< e.g. box filter
     24     kHigh_SkBlurQuality,    //!< e.g. 3-pass similar to gaussian
     25 
     26     kLastEnum_SkBlurQuality
     27 };
     28 
     29 #endif
     30