A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://libvips.github.io/libvips/API/current/method.Image.draw_rect.html below:

Vips.Image.draw_rect

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

This method is not directly available to language bindings.

Parameters
ink

Type: 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 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.

Return value

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