Method

VipsImagedraw_flood1

Declaration [src]

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

Description [src]

Optional arguments:

  • test: test this image
  • equal: fill while equal to edge
  • left: output left edge of bounding box of modified area
  • top: output top edge of bounding box of modified area
  • width: output width of bounding box of modified area
  • height: output height of bounding box of modified area

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

See also: vips_draw_flood().

This method is not directly available to language bindings.

Parameters

ink

Type: double

Value to draw.

x

Type: int

Centre of circle.

y

Type: int

Centre of circle.

...

Type: 

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, or -1 on error.