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