draw


Description:

[ CCode ( cname = "gimp_preview_area_draw" ) ]
public void draw (int x, int y, int width, int height, ImageType type, uint8[] buf, int rowstride)

Draws buf on this and queues a redraw on the given rectangle.

Since GIMP 2.2

Parameters:

this

a PreviewArea widget.

x

x offset in preview

y

y offset in preview

width

buffer width

height

buffer height

type

the ImageType of buf

buf

a uchar buffer that contains the preview pixel data.

rowstride

rowstride of buf