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 rectThis method is not directly available to language bindings.
Parametersink
Type: An array of double
Value to draw.
The length of the array is specified in then
argument. The data is owned by the caller of the method.
n
Type: int
Length of ink array.
left
Type: int
Area to paint.
top
Type: int
Area to paint.
width
Type: int
Area to paint.
height
Type: int
Area to paint.
...
Type:
NULL
-terminated list of optional named arguments.
Type: int
0 on success, or -1 on error.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4