ยค readBitmapFile, bitmapFromData, et al
Types
readBitmapFile :: FudgetIO f => FilePath -> (BitmapReturn -> f hi ho) -> f hi ho
bitmapFromData :: FudgetIO f => BitmapData -> (BitmapReturn -> f hi ho) -> f hi ho
type BitmapData = Bitmap [Int]
data BitmapReturn = BitmapBad | BitmapReturn (Bitmap PixmapId)
instance Eq BitmapReturn
instance Ord BitmapReturn
instance Read BitmapReturn
instance Show BitmapReturn
data Bitmap bits = Bitmap Size (Maybe Point) bits
instance Eq bits => Eq (Bitmap bits)
instance Functor Bitmap
instance Ord bits => Ord (Bitmap bits)
instance Read bits => Read (Bitmap bits)
instance Show bits => Show (Bitmap bits)
instance Graphic (Bitmap PixmapId)
instance Graphic (Bitmap [Int])
Description
These functions create pixmaps from bitmap data read from file
or taken from a BitmapData value in the program.
Bugs
Documentation incomplete.