fltkhs-0.5.3.5: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Image

Contents

Synopsis

Documentation

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.

Methods

runOp :: Fail () -> orig -> Ref Image -> impl Source #

(~) * impl (IO ()) => Op (Uncache ()) Image orig impl Source # 

Methods

runOp :: Uncache () -> orig -> Ref Image -> impl Source #

(~) * impl (Position -> Size -> Maybe X -> Maybe Y -> IO ()) => Op (DrawResize ()) Image orig impl Source # 

Methods

runOp :: DrawResize () -> orig -> Ref Image -> impl Source #

(~) * impl (IO ()) => Op (Desaturate ()) Image orig impl Source # 

Methods

runOp :: Desaturate () -> orig -> Ref Image -> impl Source #

(~) * impl (IO ()) => Op (Inactive ()) Image orig impl Source # 

Methods

runOp :: Inactive () -> orig -> Ref Image -> impl Source #

(~) * impl (Color -> Float -> IO ()) => Op (ColorAverage ()) Image orig impl Source # 

Methods

runOp :: ColorAverage () -> orig -> Ref Image -> impl Source #

(~) * impl (IO Int) => Op (GetCount ()) Image orig impl Source # 

Methods

runOp :: GetCount () -> orig -> Ref Image -> impl Source #

(~) * impl (IO Int) => Op (GetLd ()) Image orig impl Source # 

Methods

runOp :: GetLd () -> orig -> Ref Image -> impl Source #

(~) * impl (IO Int) => Op (GetD ()) Image orig impl Source # 

Methods

runOp :: GetD () -> orig -> Ref Image -> impl Source #

(~) * impl (Maybe Size -> IO (Maybe (Ref Image))) => Op (Copy ()) Image orig impl Source # 

Methods

runOp :: Copy () -> orig -> Ref Image -> impl Source #

(~) * impl (Position -> IO ()) => Op (Draw ()) Image orig impl Source # 

Methods

runOp :: Draw () -> orig -> Ref Image -> impl Source #

(~) * impl (IO Int) => Op (GetH ()) Image orig impl Source # 

Methods

runOp :: GetH () -> orig -> Ref Image -> impl Source #

(~) * impl (IO Int) => Op (GetW ()) Image orig impl Source # 

Methods

runOp :: GetW () -> orig -> Ref Image -> impl Source #

(~) * impl (IO ()) => Op (Destroy ()) Image orig impl Source # 

Methods

runOp :: Destroy () -> orig -> Ref Image -> impl Source #