Home | History | Annotate | Download | only in c
      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 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
      9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
     10 
     11 #ifndef sk_maskfilter_DEFINED
     12 #define sk_maskfilter_DEFINED
     13 
     14 #include "sk_types.h"
     15 
     16 typedef enum {
     17     NORMAL_SK_BLUR_STYLE,   //!< fuzzy inside and outside
     18     SOLID_SK_BLUR_STYLE,    //!< solid inside, fuzzy outside
     19     OUTER_SK_BLUR_STYLE,    //!< nothing inside, fuzzy outside
     20     INNER_SK_BLUR_STYLE,    //!< fuzzy inside, nothing outside
     21 } sk_blurstyle_t;
     22 
     23 SK_C_PLUS_PLUS_BEGIN_GUARD
     24 
     25 void sk_maskfilter_ref(sk_maskfilter_t*);
     26 void sk_maskfilter_unref(sk_maskfilter_t*);
     27 
     28 sk_maskfilter_t* sk_maskfilter_new_blur(sk_blurstyle_t, float sigma);
     29 
     30 SK_C_PLUS_PLUS_END_GUARD
     31 
     32 #endif
     33