Vips.Area
Description: Reference for Vips.Area

### Struct

# VipsArea

#### Description

    struct VipsArea {
      void* data;
      size_t length;
      int n;
    }

No description available.

###### Structure members

`data:` `void*`

  No description available.

`length:` `size_t`

  No description available.

`n:` `int`

  No description available.

#### Constructors

###### vips_area_new

A VipsArea wraps a chunk of memory. It adds reference counting and a free function. It also keeps a count and a `GType`, so the area can be an array.

###### vips_area_new_array

An area which holds an array of elements of some `GType`. To set values for the elements, get the pointer and write.

###### vips_area_new_array_object

An area which holds an array of `GObject` s. See `vips_area_new_array()`. When the area is freed, each `GObject` will be unreffed.

#### Functions

###### vips_area_free_cb

No description available.

#### Instance methods

###### vips_area_copy

No description available.

###### vips_area_get_data

Return the data pointer plus optionally the length in bytes of an area, the number of elements, the `GType` of each element and the `sizeof()` each element.

###### vips_area_unref

No description available.