Method
VipsImagedraw_rect
Declaration [src]
int
vips_draw_rect (
VipsImage* image,
double* ink,
int n,
int left,
int top,
int width,
int height,
...
)
Description [src]
Paint pixels within left, top, width, height in image with ink.
If fill is zero, just paint a 1-pixel-wide outline.
Optional arguments
fill:gboolean, fill the rect
See also
This method is not directly available to language bindings.
Parameters
ink-
Type: An array of
doubleValue to draw.
The length of the array is specified in the nargument.The data is owned by the caller of the method. n-
Type:
intLength of ink array.
left-
Type:
intArea to paint.
top-
Type:
intArea to paint.
width-
Type:
intArea to paint.
height-
Type:
intArea to paint.
...-
Type:
NULL-terminated list of optional named arguments.