Class
VipsInterpolate
Constructors
vips_interpolate_new
Look up an interpolator from a nickname and make one. You need to free the
result with g_object_unref()
when you’re done with it.
Functions
vips_interpolate_bilinear_static
A convenience function that returns a bilinear interpolator you don’t need to free.
vips_interpolate_nearest_static
A convenience function that returns a nearest-neighbour interpolator you don’t need to free.
Instance methods
vips_interpolate
Look up the interpolate
method in the class and call it. Use
vips_interpolate_get_method()
to get a direct pointer to the function and
avoid the lookup overhead.
vips_interpolate_get_method
Look up the interpolate
method in the class and return it. Use this
instead of vips_interpolate()
to cache method dispatch.
vips_interpolate_get_window_offset
Look up an interpolators desired window offset.
vips_interpolate_get_window_size
Look up an interpolators desired window size.
Methods inherited from VipsObject (27)
Please see VipsObject for a full list of methods.
Properties
Properties inherited from VipsObject (2)
Signals
Signals inherited from VipsObject (4)
Vips.Object::close
The ::close signal is emitted once during object close. The object is dying and may not work.
Vips.Object::postbuild
The ::postbuild signal is emitted once just after successful object construction. Return non-zero to cause object construction to fail.
Vips.Object::postclose
The ::postclose signal is emitted once after object close. The object pointer is still valid, but nothing else.
Vips.Object::preclose
The ::preclose signal is emitted once just before object close starts. The oject is still alive.
Signals inherited from GObject (1)
GObject.Object::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 VipsInterpolateClass {
VipsObjectClass parent_class;
VipsInterpolateMethod interpolate;
int (* get_window_size) (
VipsInterpolate* interpolate
);
int window_size;
int (* get_window_offset) (
VipsInterpolate* interpolate
);
int window_offset;
}
Class members
parent_class |
|
No description available. | |
interpolate |
|
The interpolation method. |
|
get_window_size |
|
No description available. | |
window_size |
|
Or just set this for a constant window size. |
|
get_window_offset |
|
No description available. | |
window_offset |
|
Or just set this for a constant window offset. |
Virtual methods
Vips.InterpolateClass.get_window_offset
Look up an interpolators desired window offset.
Vips.InterpolateClass.get_window_size
Look up an interpolators desired window size.