gegl-0.0.0.5: Haskell bindings to GEGL library

Safe HaskellNone
LanguageHaskell2010

GEGL.FFI.Buffer.BufferIterator

Description

FFI module for Buffer iterators

Synopsis

Documentation

c_gegl_buffer_iterator_new #

Arguments

:: Ptr ()

Buffer to draw data from

-> Ptr GeglRectangle

Rectangle to iterate over

-> CInt

Representation of level

-> BablFormatDummy

Format to process the buffer data in

-> CInt

Representation of set GeglAccessMode

-> CInt

Representation of set GeglAbyssPolicy

-> IO GeglBufferIteratorDummy 

Interface the the gegl_buffer_iterator_new function in C.

c_gegl_buffer_iterator_next #

Arguments

:: GeglBufferIteratorDummy

Iterator to manipulate

-> IO Bool 

Interface to the gegl_buffer_iterator_next function in C.

data ComponentValue #

Container type for component values

Constructors

CVhalf CUShort 
CVfloat CFloat 
CVdouble CDouble 
CVu8 CUChar 
CVu15 CUShort 
CVu16 CUShort 
CVu32 CUInt 
CVa8 CUChar 
CVrgb24 CUChar 
CVrgba32 CUChar 

c_gegl_peek_data #

Arguments

:: GeglBufferIteratorDummy

Iterator to take data from

-> PixelFormat

Pixel format of iterator

-> IO [ComponentValue] 

Get the list of pixel data out of a GeglBufferIterator.

c_gegl_peek_roi #

Arguments

:: GeglBufferIteratorDummy

Iterator to peek data from

-> IO GeglRectangle

Rectangle of interest

Returns the current roi Rectangle

c_gegl_poke_data #

Arguments

:: GeglBufferIteratorDummy

Iterator to return data to

-> [ComponentValue]

Pixel data

-> PixelFormat

Format the data are in

-> IO () 

Return a list of pixel data to a GeglBufferIterator