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]
Optional arguments:
fill
: fill the rect
Paint pixels within left
, top
, width
, height
in image
with ink
. If
fill
is zero, just paint a 1-pixel-wide outline.
See also: vips_draw_circle().
This method is not directly available to language bindings. |
Parameters
ink |
An array of double |
Value to draw. |
|
The length of the array is specified in the n argument. | |
The data is owned by the caller of the function. | |
n |
int |
Length of ink array. |
|
left |
int |
Area to paint. |
|
top |
int |
Area to paint. |
|
width |
int |
Area to paint. |
|
height |
int |
Area to paint. |
|
... |
|
|