Gimp.VectorLoadProcedure
Description: Reference for Gimp.VectorLoadProcedure

### Class

# GimpVectorLoadProcedure

#### Description [src]

    final class Gimp.VectorLoadProcedure : Gimp.LoadProcedure
    {
      /* No available fields */
    }

A `GimpProcedure` subclass that makes it easier to write load procedures for vector image formats.

It automatically adds the standard arguments: (`GimpRunMode`, `GFile`, int width, int height)

and the standard return value: ( `GimpImage` )

It is possible to add additional arguments.

When invoked via `gimp_procedure_run()`, it unpacks these standard arguments and calls `run_func` which is a `GimpRunImageFunc`. The `GimpProcedureConfig` of `GimpRunVectorLoadFunc` contains additionally added arguments but also the arguments added by this class.

#### Hierarchy

#### Ancestors

- GimpLoadProcedure
- GimpFileProcedure
- GimpProcedure
- GObject

#### Constructors

###### gimp_vector_load_procedure_new

Creates a new load procedure named `name` which will call `run_func` when invoked.

since: 3.0

#### Instance methods

###### gimp_vector_load_procedure_extract_dimensions

Extracts native or suggested dimensions from `file`, which must be a vector file in the right format supported by `procedure`. It is considered a programming error to pass a file of invalid format.

##### Methods inherited from GimpLoadProcedure (4)

###### gimp_load_procedure_get_handles_raw

Returns the procedure’s ‘handles raw’ flag as set with `gimp_load_procedure_set_handles_raw()`.

since: 3.0

###### gimp_load_procedure_get_thumbnail_loader

Returns the procedure’s thumbnail loader procedure as set with `gimp_load_procedure_set_thumbnail_loader()`.

since: 3.0

###### gimp_load_procedure_set_handles_raw

Registers a load procedure as capable of handling raw digital camera loads.

since: 3.0

###### gimp_load_procedure_set_thumbnail_loader

Associates a thumbnail loader with a file load procedure.

since: 3.0

##### Methods inherited from GimpFileProcedure (14)

###### gimp_file_procedure_get_extensions

Returns the procedure’s extensions as set with `gimp_file_procedure_set_extensions()`.

since: 3.0

###### gimp_file_procedure_get_format_name

Returns the procedure’s format name, as set with `gimp_file_procedure_set_format_name()`.

since: 3.0

###### gimp_file_procedure_get_handles_remote

Returns the procedure’s ‘handles remote’ flags as set with `gimp_file_procedure_set_handles_remote()`.

since: 3.0

###### gimp_file_procedure_get_magics

Returns the procedure’s magics as set with `gimp_file_procedure_set_magics()`.

since: 3.0

###### gimp_file_procedure_get_mime_types

Returns the procedure’s mime-type as set with `gimp_file_procedure_set_mime_types()`.

since: 3.0

###### gimp_file_procedure_get_prefixes

Returns the procedure’s prefixes as set with `gimp_file_procedure_set_prefixes()`.

since: 3.0

###### gimp_file_procedure_get_priority

Returns the procedure’s priority as set with `gimp_file_procedure_set_priority()`.

since: 3.0

###### gimp_file_procedure_set_extensions

Registers the given list of extensions as something this procedure can handle.

since: 3.0

###### gimp_file_procedure_set_format_name

Associates a format name with a file handler procedure.

since: 3.0

###### gimp_file_procedure_set_handles_remote

Registers a file procedure as capable of handling arbitrary remote URIs via GIO.

since: 3.0

###### gimp_file_procedure_set_magics

Registers the list of magic file information this procedure can handle.

since: 3.0

###### gimp_file_procedure_set_mime_types

Associates MIME types with a file handler procedure.

since: 3.0

###### gimp_file_procedure_set_prefixes

It should almost never be necessary to register prefixes with file procedures, because most sorts of URIs should be handled by GIO.

since: 3.0

###### gimp_file_procedure_set_priority

Sets the priority of a file handler procedure.

since: 3.0

##### Methods inherited from GimpProcedure (146)

Please see GimpProcedure for a full list of methods.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GimpProcedure (3)

###### Gimp.Procedure:name

No description available.

###### Gimp.Procedure:plug-in

No description available.

###### Gimp.Procedure:procedure-type

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GimpVectorLoadProcedureClass {
      GimpLoadProcedureClass parent_class;

    }

No description available.

###### Class members

`parent_class: GimpLoadProcedureClass`

  No description available.