fltkhs-0.5.3.9: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.RGBImage

Contents

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:: (Parent a RGBImage) => Ref RGBImage -> Maybe Size -> IO (Maybe (Ref a))

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 # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

(Parent a RGBImage, (~) * impl (Maybe Size -> IO (Maybe (Ref a)))) => Op (Copy ()) RGBImage orig impl Source # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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