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

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

Issue 1242403005: C API: add sk_xfermode.h, impl, test (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: consistant behaviour Created 5 years, 4 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 | « no previous file | 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | include/c/sk_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698