gi-vips-8.0.2: libvips GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Vips.Objects.Interpolate

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf Interpolate o) => IsInterpolate o Source #

Type class for types which can be safely cast to Interpolate, for instance with toInterpolate.

Instances

Instances details
(GObject o, IsDescendantOf Interpolate o) => IsInterpolate o Source # 
Instance details

Defined in GI.Vips.Objects.Interpolate

toInterpolate :: (MonadIO m, IsInterpolate o) => o -> m Interpolate Source #

Cast to Interpolate, for types for which this is known to be safe. For general casts, use castTo.

Methods

bilinearStatic

interpolateBilinearStatic Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Interpolate

Returns: a bilinear interpolator

A convenience function that returns a bilinear interpolator you don't need to free.

getWindowOffset

interpolateGetWindowOffset Source #

Arguments

:: (HasCallStack, MonadIO m, IsInterpolate a) 
=> a

interpolate: interpolator to use

-> m Int32

Returns: the interpolators required window offset

Look up an interpolators desired window offset.

getWindowSize

interpolateGetWindowSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsInterpolate a) 
=> a

interpolate: interpolator to use

-> m Int32

Returns: the interpolators required window size

Look up an interpolators desired window size.

nearestStatic

interpolateNearestStatic Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Interpolate

Returns: a nearest-neighbour interpolator

A convenience function that returns a nearest-neighbour interpolator you don't need to free.

new

interpolateNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

nickname: nickname for interpolator

-> m Interpolate

Returns: an interpolator, or Nothing on error.

Look up an interpolator from a nickname and make one. You need to free the result with objectUnref when you're done with it.

See also: typeFind.