ยค readBitmapFile, bitmapFromData, et al

Bitmaps

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

Description

These functions create pixmaps from bitmap data read from file or taken from a BitmapData value in the program.

Bugs

Documentation incomplete.