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.
::: tip “Optional arguments”
* fill: gboolean, fill the rect
::: seealso
vips_draw_circle().
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. |
|
... |
none |
|