Vips.Image.draw_flood1 (original) (raw)
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.
Optional arguments
test: VipsImage, test this imageequal:gboolean, fill while equal to edgeleft:gint, output, left edge of bounding box of modified areatop:gint, output, top edge of bounding box of modified areawidth:gint, output, width of bounding box of modified areaheight:gint, output, height of bounding box of modified area
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.