| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 * any previous value, and call ref() on the new value. | 58 * any previous value, and call ref() on the new value. |
| 59 */ | 59 */ |
| 60 void sk_paint_set_shader(sk_paint_t*, sk_shader_t*); | 60 void sk_paint_set_shader(sk_paint_t*, sk_shader_t*); |
| 61 | 61 |
| 62 /** | 62 /** |
| 63 * Set the paint's maskfilter to the specified parameter. This will automatical
ly call unref() on | 63 * Set the paint's maskfilter to the specified parameter. This will automatical
ly call unref() on |
| 64 * any previous value, and call ref() on the new value. | 64 * any previous value, and call ref() on the new value. |
| 65 */ | 65 */ |
| 66 void sk_paint_set_maskfilter(sk_paint_t*, sk_maskfilter_t*); | 66 void sk_paint_set_maskfilter(sk_paint_t*, sk_maskfilter_t*); |
| 67 | 67 |
| 68 /** |
| 69 * Set the paint's xfermode to the specified parameter. |
| 70 */ |
| 71 void sk_paint_set_xfermode_mode(sk_paint_t*, sk_xfermode_mode_t); |
| 72 |
| 68 SK_C_PLUS_PLUS_END_GUARD | 73 SK_C_PLUS_PLUS_END_GUARD |
| 69 | 74 |
| 70 #endif | 75 #endif |
| OLD | NEW |