Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ImageFail
- data ImageFuncs a b = ImageFuncs {}
- defaultImageFuncs :: ImageFuncs a b
- imageNew :: Size -> Depth -> Maybe (ImageFuncs a b) -> IO (Ref Image)
- type CustomColorAverage = Ref Image -> Color -> Float -> IO ()
- type CustomImageDraw = Ref Image -> Position -> Size -> Maybe X -> Maybe Y -> IO ()
- type CustomImageCopy = Ref Image -> Size -> IO (Ref Image)
- toCustomImageDrawPrim :: CustomImageDraw -> IO (FunPtr CustomImageDrawPrim)
- toCustomColorAveragePrim :: CustomColorAverage -> IO (FunPtr CustomColorAveragePrim)
- toCustomImageCopyPrim :: CustomImageCopy -> IO (FunPtr CustomImageCopyPrim)
Documentation
Only available on FLTK version 1.3.4 and above.
Instances
Enum ImageFail Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Image succ :: ImageFail -> ImageFail # pred :: ImageFail -> ImageFail # fromEnum :: ImageFail -> Int # enumFrom :: ImageFail -> [ImageFail] # enumFromThen :: ImageFail -> ImageFail -> [ImageFail] # enumFromTo :: ImageFail -> ImageFail -> [ImageFail] # enumFromThenTo :: ImageFail -> ImageFail -> ImageFail -> [ImageFail] # | |
Eq ImageFail Source # | |
Ord ImageFail Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Image | |
Show ImageFail Source # | |
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
() fail ::Ref
Image
->IO
(Either
ImageFail
()) getCount ::Ref
Image
->IO
(Int
) getD ::Ref
Image
->IO
(Int
) getDataH ::Ref
Image
->IO
(Height
) getDataSize ::Ref
Image
->IO
(Size
) getDataW ::Ref
Image
->IO
(Width
) getH ::Ref
Image
->IO
(Height
) getLd ::Ref
Image
->IO
(Int
) getW ::Ref
Image
->IO
(Width
) inactive ::Ref
Image
->IO
() scale ::Ref
Image
->Size
->Maybe
Bool
->Maybe
Bool
->IO
() uncache ::Ref
Image
->IO
()
Orphan instances
impl ~ IO Size => Op (GetDataSize ()) Image orig impl Source # | |
impl ~ IO Height => Op (GetDataH ()) Image orig impl Source # | |
impl ~ IO Width => Op (GetDataW ()) Image orig impl Source # | |
impl ~ (Size -> Maybe Bool -> Maybe Bool -> IO ()) => Op (Scale ()) Image orig impl Source # | |
impl ~ IO (Either ImageFail ()) => Op (Fail ()) Image orig impl Source # | |
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 Height => Op (GetH ()) Image orig impl Source # | |
impl ~ IO Width => Op (GetW ()) Image orig impl Source # | |
impl ~ IO () => Op (Destroy ()) Image orig impl Source # | |