gi-vips-8.0.4: 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.Structs.ArrayInt

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ArrayInt Source #

Memory-managed wrapper type.

Constructors

ArrayInt (ManagedPtr ArrayInt) 

Instances

Instances details
Eq ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

GBoxed ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

ManagedPtrNewtype ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

Methods

toManagedPtr :: ArrayInt -> ManagedPtr ArrayInt

TypedObject ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

Methods

glibType :: IO GType

HasParentTypes ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

tag ~ 'AttrSet => Constructible ArrayInt tag Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

Methods

new :: MonadIO m => (ManagedPtr ArrayInt -> ArrayInt) -> [AttrOp ArrayInt tag] -> m ArrayInt

IsGValue (Maybe ArrayInt) Source #

Convert ArrayInt to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Vips.Structs.ArrayInt

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ArrayInt -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ArrayInt)

type ParentTypes ArrayInt Source # 
Instance details

Defined in GI.Vips.Structs.ArrayInt

type ParentTypes ArrayInt = '[] :: [Type]

newZeroArrayInt :: MonadIO m => m ArrayInt Source #

Construct a ArrayInt struct initialized to zero.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

get.

Getters

None.

Setters

None.

get

arrayIntGet Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ArrayInt

array: the ArrayInt to fetch from

-> m [Int32]

Returns: array of int

Fetch an int array from a ArrayInt. Useful for language bindings.

new

arrayIntNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> [Int32]

array: array of int

-> m ArrayInt

Returns: A new ArrayInt.

Allocate a new array of ints and copy array into it. Free with areaUnref.

See also: Area.

Properties

area

No description available in the introspection data.

getArrayIntArea :: MonadIO m => ArrayInt -> m Area Source #

Get the value of the “area” field. When overloading is enabled, this is equivalent to

get arrayInt #area