Safe Haskell | Safe-Infered |
---|
- class (Num t, Storable t) => PixelComponent t
- data PixelComponentType
- pixelComponentSize :: PixelComponentType -> Int
- pixelComponentType :: PixelComponent t => t -> PixelComponentType
- data Word8
- data Word16
- data Word32
- type Size = (Int, Int)
- type Offset = (Int, Int)
- type NChn = Int
- type Alignment = Int
- type Padding = Int
- data Bitmap t
- bitmapSize :: BitmapClass bitmap => bitmap t -> Size
- bitmapNChannels :: BitmapClass bitmap => bitmap t -> NChn
- bitmapRowPadding :: BitmapClass bitmap => bitmap t -> Padding
- bitmapRowAlignment :: BitmapClass bitmap => bitmap t -> Alignment
- bitmapAspect :: (Fractional a, BitmapClass bitmap) => bitmap t -> a
- bitmapComponentType :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> PixelComponentType
- bitmapComponentSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> Int
- bitmapPixelSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> Int
- bitmapPaddedRowSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> Int
- bitmapUnpaddedRowSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> Int
- bitmapSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> Int
- class BitmapClass b
- data BitmapChannel t = BmChn (Bitmap t) Int
Documentation
class (Num t, Storable t) => PixelComponent t Source
data PixelComponentType Source
pixelComponentType :: PixelComponent t => t -> PixelComponentTypeSource
data Word8
8-bit unsigned integer type
data Word16
16-bit unsigned integer type
data Word32
32-bit unsigned integer type
bitmapSize :: BitmapClass bitmap => bitmap t -> SizeSource
bitmapNChannels :: BitmapClass bitmap => bitmap t -> NChnSource
bitmapRowPadding :: BitmapClass bitmap => bitmap t -> PaddingSource
bitmapRowAlignment :: BitmapClass bitmap => bitmap t -> AlignmentSource
bitmapAspect :: (Fractional a, BitmapClass bitmap) => bitmap t -> aSource
The width divided by the height.
bitmapComponentType :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> PixelComponentTypeSource
bitmapComponentSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> IntSource
bitmapPixelSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> IntSource
bitmapPaddedRowSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> IntSource
bitmapUnpaddedRowSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> IntSource
bitmapSizeInBytes :: (BitmapClass bitmap, PixelComponent t) => bitmap t -> IntSource
class BitmapClass b Source
A class so that using newtypes is convenient.
data BitmapChannel t Source