[ CCode ( cname = "gimp_preview_area_mask" ) ]
public void mask (int x, int y, int width, int height, ImageType type, uint8[] buf1, int rowstride1, uint8[] buf2, int rowstride2, uint8[] mask, int rowstride_mask)
Composites buf1 on buf2 with the given mask, draws the result on this
and queues a redraw on the given rectangle.
Since GIMP 2.2
| this |
a PreviewArea widget. |
| x |
x offset in preview |
| y |
y offset in preview |
| width |
buffer width |
| height |
buffer height |
| type |
the ImageType of |
| buf1 |
a uchar buffer that contains the pixel data for the lower layer |
| rowstride1 |
rowstride of |
| buf2 |
a uchar buffer that contains the pixel data for the upper layer |
| rowstride2 |
rowstride of |
| mask |
a uchar buffer representing the mask of the second layer. |
| rowstride_mask |
rowstride for the mask. |