OLD | NEW |
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 Loading... |
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 |
OLD | NEW |