Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: include/c/sk_maskfilter.h

Issue 822053002: add maskfilter to c api (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/c/sk_paint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
OLDNEW
« no previous file with comments | « no previous file | include/c/sk_paint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698