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

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

Issue 822053002: add maskfilter to c api (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 12 months 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 | « include/c/sk_maskfilter.h ('k') | include/c/sk_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL 8 // EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY 9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 sk_color_t sk_paint_get_color(const sk_paint_t*); 24 sk_color_t sk_paint_get_color(const sk_paint_t*);
25 void sk_paint_set_color(sk_paint_t*, sk_color_t); 25 void sk_paint_set_color(sk_paint_t*, sk_color_t);
26 26
27 /** 27 /**
28 * Set the paint's shader to the specified parameter. This will automatically c all unref() on 28 * Set the paint's shader to the specified parameter. This will automatically c all unref() on
29 * any previous value, and call ref() on the new value. 29 * any previous value, and call ref() on the new value.
30 */ 30 */
31 void sk_paint_set_shader(sk_paint_t*, sk_shader_t*); 31 void sk_paint_set_shader(sk_paint_t*, sk_shader_t*);
32 32
33 /**
34 * Set the paint's maskfilter to the specified parameter. This will automatical ly call unref() on
35 * any previous value, and call ref() on the new value.
36 */
37 void sk_paint_set_maskfilter(sk_paint_t*, sk_maskfilter_t*);
38
33 SK_C_PLUS_PLUS_END_GUARD 39 SK_C_PLUS_PLUS_END_GUARD
34 40
35 #endif 41 #endif
OLDNEW
« no previous file with comments | « include/c/sk_maskfilter.h ('k') | include/c/sk_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698