Method

VipsImagedraw_flood1

Declaration [src]

int
vips_draw_flood1 (
  VipsImage* image,
  double ink,
  int x,
  int y,
  ...
)

Description [src]

As vips_draw_flood(), but just takes a single double for ink.

::: tip “Optional arguments” * test: VipsImage, test this image * equal: gboolean, fill while equal to edge * left: gint, output, left edge of bounding box of modified area * top: gint, output, top edge of bounding box of modified area * width: gint, output, width of bounding box of modified area * height: gint, output, height of bounding box of modified area

::: seealso vips_draw_flood().

Parameters

ink double
 

Value to draw.

x int
 

Centre of circle.

y int
 

Centre of circle.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, or -1 on error.