Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ImageFail
- data ImageFuncs a b = ImageFuncs {}
- defaultImageFuncs :: ImageFuncs a b
- imageNew :: Size -> Depth -> Maybe (ImageFuncs a b) -> IO (Ref Image)
- type ColorAverageCallback = Ref Image -> Color -> Float -> IO ()
- type ImageDrawCallback = Ref Image -> Position -> Size -> Maybe X -> Maybe Y -> IO ()
- type ImageCopyCallback = Ref Image -> Size -> IO (Ref Image)
- toImageDrawCallbackPrim :: ImageDrawCallback -> IO (FunPtr ImageDrawCallbackPrim)
- toColorAverageCallbackPrim :: ColorAverageCallback -> IO (FunPtr ColorAverageCallbackPrim)
- toImageCopyCallbackPrim :: ImageCopyCallback -> IO (FunPtr ImageCopyCallbackPrim)
Documentation
Only available on FLTK version 1.3.4 and above.
data ImageFuncs a b Source #
defaultImageFuncs :: ImageFuncs a b Source #
Hierarchy
Functions
colorAverage ::Ref
Image
->Color
->Float
->IO
() copy ::Ref
Image
->Maybe
Size
->IO
(Maybe
(Ref
Image
)) desaturate ::Ref
Image
->IO
() destroy ::Ref
Image
->IO
() draw ::Ref
Image
->Position
->IO
() drawResize ::Ref
Image
->Position
->Size
->Maybe
X
->Maybe
Y
->IO
() getCount ::Ref
Image
->IO
(Int
) getD ::Ref
Image
->IO
(Int
) getH ::Ref
Image
->IO
(Int
) getLd ::Ref
Image
->IO
(Int
) getW ::Ref
Image
->IO
(Int
) inactive ::Ref
Image
->IO
() uncache ::Ref
Image
->IO
() Available in FLTK 1.3.4 only: fail ::Ref
Image
->IO
(Either
ImageFail
())
Orphan instances
(~) * impl (IO (Either ImageFail ())) => Op (Fail ()) Image orig impl Source # | Only available on FLTK version 1.3.4 and above. |
(~) * impl (IO ()) => Op (Uncache ()) Image orig impl Source # | |
(~) * impl (Position -> Size -> Maybe X -> Maybe Y -> IO ()) => Op (DrawResize ()) Image orig impl Source # | |
(~) * impl (IO ()) => Op (Desaturate ()) Image orig impl Source # | |
(~) * impl (IO ()) => Op (Inactive ()) Image orig impl Source # | |
(~) * impl (Color -> Float -> IO ()) => Op (ColorAverage ()) Image orig impl Source # | |
(~) * impl (IO Int) => Op (GetCount ()) Image orig impl Source # | |
(~) * impl (IO Int) => Op (GetLd ()) Image orig impl Source # | |
(~) * impl (IO Int) => Op (GetD ()) Image orig impl Source # | |
(~) * impl (Maybe Size -> IO (Maybe (Ref Image))) => Op (Copy ()) Image orig impl Source # | |
(~) * impl (Position -> IO ()) => Op (Draw ()) Image orig impl Source # | |
(~) * impl (IO Int) => Op (GetH ()) Image orig impl Source # | |
(~) * impl (IO Int) => Op (GetW ()) Image orig impl Source # | |
(~) * impl (IO ()) => Op (Destroy ()) Image orig impl Source # | |