Virtual Method

GimpUiPreviewdraw_buffer

Declaration [src]

void
draw_buffer (
  GimpPreview* preview,
  const guchar* buffer,
  gint rowstride
)

Description [src]

Calls the GimpPreview::draw_buffer method. GimpPreview itself doesn’t implement this method so the behaviour is determined by the derived class implementing this method.

Available since:2.2

Parameters

buffer An array of guchar
 

A pixel buffer the size of the preview.

 The data is owned by the caller of the function.
rowstride gint
 

The buffers rowstride.