Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Interpolate = Interpolate (ManagedPtr Interpolate)
- class (GObject o, IsDescendantOf Interpolate o) => IsInterpolate o
- toInterpolate :: (MonadIO m, IsInterpolate o) => o -> m Interpolate
- interpolateBilinearStatic :: (HasCallStack, MonadIO m) => m Interpolate
- interpolateGetWindowOffset :: (HasCallStack, MonadIO m, IsInterpolate a) => a -> m Int32
- interpolateGetWindowSize :: (HasCallStack, MonadIO m, IsInterpolate a) => a -> m Int32
- interpolateNearestStatic :: (HasCallStack, MonadIO m) => m Interpolate
- interpolateNew :: (HasCallStack, MonadIO m) => Text -> m Interpolate
Exported types
newtype Interpolate Source #
Memory-managed wrapper type.
Interpolate (ManagedPtr Interpolate) |
Instances
Eq Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate (==) :: Interpolate -> Interpolate -> Bool # (/=) :: Interpolate -> Interpolate -> Bool # | |
GObject Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate | |
ManagedPtrNewtype Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate toManagedPtr :: Interpolate -> ManagedPtr Interpolate | |
TypedObject Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate | |
HasParentTypes Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate | |
IsGValue (Maybe Interpolate) Source # | Convert |
Defined in GI.Vips.Objects.Interpolate gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Interpolate -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Interpolate) | |
type ParentTypes Interpolate Source # | |
Defined in GI.Vips.Objects.Interpolate |
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
(GObject o, IsDescendantOf Interpolate o) => IsInterpolate o Source # | |
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
Click to display all available methods, including inherited ones
Methods
argumentIsset, argumentNeedsstring, bindProperty, bindPropertyFull, build, forceFloating, freezeNotify, getv, isFloating, localCb, notify, notifyByPspec, preclose, printDump, printName, printSummary, ref, refSink, rewind, runDispose, sanity, stealData, stealQdata, thawNotify, toString, unref, unrefOutputs, watchClosure.
Getters
getArgumentFlags, getArgumentPriority, getArgumentToString, getData, getDescription, getQdata, getWindowOffset, getWindowSize.
Setters
setArgumentFromString, setData, setDataFull, setFromString, setRequired, setStatic.
bilinearStatic
interpolateBilinearStatic Source #
:: (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 #
:: (HasCallStack, MonadIO m, IsInterpolate a) | |
=> a |
|
-> m Int32 | Returns: the interpolators required window offset |
Look up an interpolators desired window offset.
getWindowSize
interpolateGetWindowSize Source #
:: (HasCallStack, MonadIO m, IsInterpolate a) | |
=> a |
|
-> m Int32 | Returns: the interpolators required window size |
Look up an interpolators desired window size.
nearestStatic
interpolateNearestStatic Source #
:: (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
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m Interpolate | Returns: an interpolator, or |
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
.