Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Graphics.Gloss.Data.Bitmap
Description
Functions to load bitmap data from various places.
Documentation
Instances
Data Rectangle | |
Defined in Graphics.Gloss.Internals.Rendering.Bitmap Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rectangle -> c Rectangle Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rectangle Source # toConstr :: Rectangle -> Constr Source # dataTypeOf :: Rectangle -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rectangle) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rectangle) Source # gmapT :: (forall b. Data b => b -> b) -> Rectangle -> Rectangle Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Rectangle -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Rectangle -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # | |
Read Rectangle | |
Show Rectangle | |
Eq Rectangle | |
Ord Rectangle | |
Defined in Graphics.Gloss.Internals.Rendering.Bitmap |
data BitmapData #
Instances
Data BitmapData | |
Defined in Graphics.Gloss.Internals.Rendering.Bitmap Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BitmapData -> c BitmapData Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BitmapData Source # toConstr :: BitmapData -> Constr Source # dataTypeOf :: BitmapData -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BitmapData) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BitmapData) Source # gmapT :: (forall b. Data b => b -> b) -> BitmapData -> BitmapData Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BitmapData -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BitmapData -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BitmapData -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BitmapData -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BitmapData -> m BitmapData Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BitmapData -> m BitmapData Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BitmapData -> m BitmapData Source # | |
Show BitmapData | |
Defined in Graphics.Gloss.Internals.Rendering.Bitmap | |
Eq BitmapData | |
Defined in Graphics.Gloss.Internals.Rendering.Bitmap Methods (==) :: BitmapData -> BitmapData -> Bool Source # (/=) :: BitmapData -> BitmapData -> Bool Source # |
bitmapSize :: BitmapData -> (Int, Int) #
data BitmapFormat #
Constructors
BitmapFormat | |
Fields |
Instances
Constructors
TopToBottom | |
BottomToTop |
Instances
data PixelFormat #
Instances
bitmapOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> Picture #
bitmapDataOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> BitmapData #
bitmapOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> Picture #
bitmapDataOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> BitmapData #
bitmapOfBMP :: BMP -> Picture #
bitmapDataOfBMP :: BMP -> BitmapData #