Method

VipsImagedraw_rect1

Declaration [src]

int
vips_draw_rect1 (
  VipsImage* image,
  double ink,
  int left,
  int top,
  int width,
  int height,
  ...
)

Description [src]

Optional arguments:

  • fill: fill the rect

As vips_draw_rect(), but just take a single double for ink.

See also: vips_draw_rect().

This method is not directly available to language bindings.

Parameters

ink double
 

Value to draw.

left int
 

Area to paint.

top int
 

Area to paint.

width int
 

Area to paint.

height int
 

Area to paint.

...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, or -1 on error.