Method

VipsImagedraw_smudge

Declaration [src]

int
vips_draw_smudge (
  VipsImage* image,
  int left,
  int top,
  int width,
  int height,
  ...
)

Description [src]

Smudge a section of image. Each pixel in the area left, top, width, height is replaced by the average of the surrounding 3x3 pixels.

::: seealso vips_draw_line().

Parameters

left int
 

Point to paint.

top int
 

Point to paint.

width int
 

Area to paint.

height int
 

Area to paint.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, or -1 on error.