Safe Haskell | None |
---|---|
Language | Haskell2010 |
FFI module for Buffer iterators
- newtype GeglBufferIterator = GeglBufferIterator GeglBufferIteratorDummy
- type GeglBufferIteratorDummy = Ptr ()
- c_gegl_buffer_iterator_new :: Ptr () -> Ptr GeglRectangle -> CInt -> BablFormatDummy -> CInt -> CInt -> IO GeglBufferIteratorDummy
- c_gegl_buffer_iterator_next :: GeglBufferIteratorDummy -> IO Bool
- data ComponentValue
- c_gegl_peek_data :: GeglBufferIteratorDummy -> PixelFormat -> IO [ComponentValue]
- c_gegl_peek_roi :: GeglBufferIteratorDummy -> IO GeglRectangle
- c_gegl_poke_data :: GeglBufferIteratorDummy -> [ComponentValue] -> PixelFormat -> IO ()
Documentation
type GeglBufferIteratorDummy = Ptr () #
:: 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 |
-> CInt | Representation of set |
-> IO GeglBufferIteratorDummy |
Interface the the gegl_buffer_iterator_new
function in C.
:: GeglBufferIteratorDummy | Iterator to manipulate |
-> IO Bool |
Interface to the gegl_buffer_iterator_next
function in C.
data ComponentValue #
Container type for component values
:: GeglBufferIteratorDummy | Iterator to take data from |
-> PixelFormat | Pixel format of iterator |
-> IO [ComponentValue] |
Get the list of pixel data out of a GeglBufferIterator
.
:: GeglBufferIteratorDummy | Iterator to peek data from |
-> IO GeglRectangle | Rectangle of interest |
Returns the current roi Rectangle
:: 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