fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.RGBImage

Synopsis

Documentation

checkImage :: (Parent orig RGBImage, Match x ~ FindOp orig orig (GetW ()), Op (GetW ()) x orig (IO Int), Match y ~ FindOp orig orig (Destroy ()), Op (Destroy ()) y orig (IO ())) => Ref orig -> IO (Either UnknownError (Ref orig)) Source #

Hierarchy

Functions

colorAverage :: Ref RGBImage -> Color -> Float -> IO ()

copy :: Ref RGBImage -> Maybe Size -> IO (Maybe (Ref orig))

desaturate :: Ref RGBImage -> IO ()

destroy :: Ref RGBImage -> IO ()

draw :: Ref RGBImage -> Position -> IO ()

drawResize :: Ref RGBImage -> Position -> Size -> Maybe X -> Maybe Y -> IO ()

getCount :: Ref RGBImage -> IO (Int)

getD :: Ref RGBImage -> IO (Int)

getH :: Ref RGBImage -> IO (Int)

getLd :: Ref RGBImage -> IO (Int)

getW :: Ref RGBImage -> IO (Int)

inactive :: Ref RGBImage -> IO ()

uncache :: Ref RGBImage -> IO ()

Orphan instances

impl ~ IO () => Op (Uncache ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ (Position -> Size -> Maybe X -> Maybe Y -> IO ()) => Op (DrawResize ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO () => Op (Desaturate ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO () => Op (Inactive ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ (Color -> Float -> IO ()) => Op (ColorAverage ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO Int => Op (GetCount ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO Int => Op (GetLd ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO Int => Op (GetD ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ (Maybe Size -> IO (Maybe (Ref orig))) => Op (Copy ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ (Position -> IO ()) => Op (Draw ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO Int => Op (GetH ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO Int => Op (GetW ()) RGBImage orig impl Source # 
Instance details

Methods

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

impl ~ IO () => Op (Destroy ()) RGBImage orig impl Source # 
Instance details

Methods

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