Somehow this got nuked
authorMatthew Leibowitz <mattleibow@live.com>
Sun, 26 Mar 2017 15:28:30 +0000 (11:28 -0400)
committerMatthew Leibowitz <mattleibow@live.com>
Sun, 26 Mar 2017 15:28:30 +0000 (11:28 -0400)
include/c/sk_bitmap.h

index c56cee1..c0751cd 100644 (file)
@@ -53,6 +53,7 @@ SK_C_API sk_colortable_t* sk_bitmap_get_colortable(sk_bitmap_t* cbitmap);
 SK_C_API void sk_bitmap_set_pixels(sk_bitmap_t* cbitmap, void* pixels, sk_colortable_t* ctable);
 SK_C_API bool sk_bitmap_peek_pixels(sk_bitmap_t* cbitmap, sk_pixmap_t* cpixmap);
 SK_C_API bool sk_bitmap_extract_subset(sk_bitmap_t* cbitmap, sk_bitmap_t* dst, sk_irect_t* subset);
+SK_C_API bool sk_bitmap_extract_alpha(sk_bitmap_t* cbitmap, sk_bitmap_t* dst, const sk_paint_t* paint, sk_ipoint_t* offset);
 SK_C_API void sk_bitmap_notify_pixels_changed(sk_bitmap_t* cbitmap);
 
 SK_C_PLUS_PLUS_END_GUARD