Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Bitmap.Foreign
Description
Wrapping interface for IOBitmap
s as defined by the "bitmap" package
TODO: Add support for "bitmap"'s pure bitmap type.
Since this package was originally written, bitmap
version 0.0.2 was
released with new support for using both IOBitmap
s and pure Bitmap
s.
- type FBBitmapBase = IOBitmap
- newtype BitmapForeign = BitmapForeign {}
Documentation
type FBBitmapBase = IOBitmap Source
newtype BitmapForeign Source
The foreign bitmap as defined by the "bitmap" package
For more information see documentation of the "bitmap" package.
NB: this type is actually a reference to a memory location; thus the possible issues with concurrency and referential transparency are introduced.
Constructors
BitmapForeign | |
Instances
Bitmap BitmapForeign | |
type BIndexType BitmapForeign = Int | |
type BPixelType BitmapForeign = PixelRGB |