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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/c/sk_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/c/sk_paint.h
diff --git a/include/c/sk_paint.h b/include/c/sk_paint.h
index 481147f1e55e77e06597ad56105773d752fef276..382438051b5a50c9d15b36d6b5e9dc3dcec6befd 100644
--- a/include/c/sk_paint.h
+++ b/include/c/sk_paint.h
@@ -65,6 +65,11 @@ void sk_paint_set_shader(sk_paint_t*, sk_shader_t*);
*/
void sk_paint_set_maskfilter(sk_paint_t*, sk_maskfilter_t*);
+/**
+ * Set the paint's xfermode to the specified parameter.
+ */
+void sk_paint_set_xfermode_mode(sk_paint_t*, sk_xfermode_mode_t);
+
SK_C_PLUS_PLUS_END_GUARD
#endif
« 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