-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Haskell binding for Imlib 2
@package Imlib
@version 0.1.2

module Graphics.Imlib
type ImlibProgressFunction = ImlibImage -> Word8 -> CInt -> CInt -> CInt -> CInt -> IO CInt
type ImlibDataDestructorFunction = ImlibImage -> Ptr () -> IO ()
data ImlibTTFEncoding
ImlibTTFEncodingISO88591 :: ImlibTTFEncoding
ImlibTTFEncodingISO88592 :: ImlibTTFEncoding
ImlibTTFEncodingISO88593 :: ImlibTTFEncoding
ImlibTTFEncodingISO88594 :: ImlibTTFEncoding
ImlibTTFEncodingISO88595 :: ImlibTTFEncoding
data ImlibLoadError
ImlibLoadErrorNone :: ImlibLoadError
ImlibLoadErrorFileDoesNotExist :: ImlibLoadError
ImlibLoadErrorFileIsDirectory :: ImlibLoadError
ImlibLoadErrorPermissionDeniedToRead :: ImlibLoadError
ImlibLoadErrorNoLoaderForFileFormat :: ImlibLoadError
ImlibLoadErrorPathTooLong :: ImlibLoadError
ImlibLoadErrorPathComponentNonExistant :: ImlibLoadError
ImlibLoadErrorPathComponentNotDirectory :: ImlibLoadError
ImlibLoadErrorPathPointsOutsideAddressSpace :: ImlibLoadError
ImlibLoadErrorTooManySymbolicLinks :: ImlibLoadError
ImlibLoadErrorOutOfMemory :: ImlibLoadError
ImlibLoadErrorOutOfFileDescriptors :: ImlibLoadError
ImlibLoadErrorPermissionDeniedToWrite :: ImlibLoadError
ImlibLoadErrorOutOfDiskSpace :: ImlibLoadError
ImlibLoadErrorUnknown :: ImlibLoadError
data ImlibTextDirection
ImlibTextToRight :: ImlibTextDirection
ImlibTextToLeft :: ImlibTextDirection
ImlibTextToDown :: ImlibTextDirection
ImlibTextToUp :: ImlibTextDirection
ImlibTextToAngle :: ImlibTextDirection
data ImlibOperation
ImlibOpCopy :: ImlibOperation
ImlibOpAdd :: ImlibOperation
ImlibOpSubtract :: ImlibOperation
ImlibOpReshade :: ImlibOperation
data ImlibColor
ImlibColor :: Word32 -> Word32 -> Word32 -> Word32 -> ImlibColor
data ImlibBorder
ImlibBorder :: CInt -> CInt -> CInt -> CInt -> ImlibBorder
data ImlibPolygon
data ImlibFilter
data ImlibColorRange
data ImlibFont
data ImlibUpdates
data ImlibColorModifier
data ImlibImage
data ImlibContext
contextSetDitherMask :: Bool -> IO ()
contextSetAntiAlias :: Bool -> IO ()
contextSetDither :: Bool -> IO ()
contextSetBlend :: Bool -> IO ()
contextSetColorModifier :: ImlibColorModifier -> IO ()
contextSetOperation :: ImlibOperation -> IO ()
contextSetFont :: ImlibFont -> IO ()
contextSetDirection :: ImlibTextDirection -> IO ()
contextSetAngle :: Double -> IO ()
contextSetColor :: Int -> Int -> Int -> Int -> IO ()
contextSetColorCmya :: Int -> Int -> Int -> Int -> IO ()
contextSetColorHsva :: (Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> IO ()
contextSetColorHlsa :: (Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> IO ()
contextSetColorRange :: ImlibColorRange -> IO ()
contextSetProgressFunction :: ImlibProgressFunction -> IO ()
contextSetProgressGranularity :: Word8 -> IO ()
contextSetFilter :: ImlibFilter -> IO ()
contextSetImage :: ImlibImage -> IO ()
contextGetDitherMask :: IO Bool
contextGetAntiAlias :: IO Bool
contextGetDither :: IO Bool
contextGetBlend :: IO Bool
contextGetColorModifier :: IO ImlibColorModifier
contextGetOperation :: IO ImlibOperation
contextGetFont :: IO ImlibFont
contextGetAngle :: IO Double
contextGetDirection :: IO ImlibTextDirection
contextGetColor :: IO (Int, Int, Int, Int)
contextGetColorCmya :: IO (Int, Int, Int, Int)
contextGetColorHsva :: IO (Int, Int, Int, Int)
contextGetColorHlsa :: IO (Int, Int, Int, Int)
contextGetImlibColor :: IO ImlibColor
contextGetColorRange :: IO ImlibColorRange
contextGetProgressFunction :: IO FunPtr ImlibProgressFunction
contextGetProgressGranularity :: IO Word8
contextGetImage :: IO ImlibImage
contextGetFilter :: IO ImlibFilter
getCacheSize :: IO Int
setCacheSize :: Int -> IO ()
getColorUsage :: IO Int
setColorUsage :: Int -> IO ()
flushLoaders :: IO ()
loadImage :: String -> IO ImlibImage
loadImageImmediately :: String -> IO ImlibImage
loadImageWithoutCache :: String -> IO ImlibImage
loadImageImmediatelyWithoutCache :: String -> IO ImlibImage
loadImageWithErrorReturn :: String -> IO (ImlibImage, ImlibLoadError)
freeImage :: IO ()
freeImageAndDecache :: IO ()
imageGetWidth :: IO Int
imageGetHeight :: IO Int
imageGetFilename :: IO String
imageGetData :: IO (Ptr Word32)
imageGetDataForReadingOnly :: IO (Ptr Word32)
imagePutBackData :: Ptr Word32 -> IO ()
imageWithData :: (Ptr Word32 -> IO a) -> IO a
imageHasAlpha :: IO Bool
imageSetChangesOnDisk :: IO ()
imageGetBorder :: IO ImlibBorder
imageSetBorder :: ImlibBorder -> IO ()
imageSetFormat :: String -> IO ()
imageSetIrrelevantFormat :: Bool -> IO ()
imageSetIrrelevantBorder :: Bool -> IO ()
imageSetIrrelevantAlpha :: Bool -> IO ()
imageFormat :: IO String
imageSetHasAlpha :: Bool -> IO ()
blendImageOntoImage :: (Integral a8, Integral a7, Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => ImlibImage -> Bool -> (a1, a2, a3, a4) -> (a5, a6, a7, a8) -> IO ()
createImage :: Int -> Int -> IO ImlibImage
createImageUsingData :: Int -> Int -> Ptr Word32 -> IO ImlibImage
createImageUsingCopiedData :: (Integral a2, Integral a1) => a1 -> a2 -> Ptr Word32 -> IO ImlibImage
cloneImage :: IO ImlibImage
createCroppedImage :: (Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> IO ImlibImage
createCroppedScaledImage :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ImlibImage
updatesClone :: ImlibUpdates -> IO ImlibUpdates
updateAppendRect :: (Integral a4, Integral a3, Integral a2, Integral a1) => ImlibUpdates -> a1 -> a2 -> a3 -> a4 -> IO ImlibUpdates
updatesMerge :: (Integral a2, Integral a1) => ImlibUpdates -> a1 -> a2 -> IO ImlibUpdates
updatesMergeForRendering :: (Integral a2, Integral a1) => ImlibUpdates -> a1 -> a2 -> IO ImlibUpdates
updatesFree :: ImlibUpdates -> IO ()
updatesGetNext :: ImlibUpdates -> IO ImlibUpdates
updatesGetCoordinates :: ImlibUpdates -> IO (Int, Int, Int, Int)
updatesSetCoordinates :: (Integral a4, Integral a3, Integral a2, Integral a1) => ImlibUpdates -> a1 -> a2 -> a3 -> a4 -> IO ()
updatesInit :: IO ImlibUpdates
updatesAppendUpdates :: ImlibUpdates -> ImlibUpdates -> IO ImlibUpdates
imageFlipHorizontal :: IO ()
imageFlipVertical :: IO ()
imageFlipDiagonal :: IO ()
imageOrientate :: Int -> IO ()
imageBlur :: Int -> IO ()
imageSharpen :: Int -> IO ()
imageTileHorizontal :: IO ()
imageTileVertical :: IO ()
imageTile :: IO ()
loadFont :: String -> IO ImlibFont
freeFont :: forall t. t -> IO ()
textDraw :: Int -> Int -> String -> IO ()
textDrawWithReturnMetrics :: (Num d, Integral a2, Integral a1) => a1 -> a2 -> String -> IO (d, d, d, d)
getTextSize :: String -> IO (Int, Int)
getTextAdvance :: String -> IO (Int, Int)
getTextInset :: String -> IO Int
addPathToFontPath :: String -> IO ()
removePathFromFontPath :: String -> IO ()
listFontPath :: IO [String]
textGetIndexAndLocation :: (Num e, Num d, Num c, Num b, Num a) => String -> CInt -> CInt -> IO (a, b, c, d, e)
textGetLocationAtIndex :: (Num d, Num c, Num b, Num a) => String -> CInt -> IO (a, b, c, d)
listFonts :: IO [String]
getFontCacheSize :: IO Int
setFontCacheSize :: Int -> IO ()
flushFontCache :: IO ()
getFontAscent :: IO Int
getFontDescent :: IO Int
getMaximumFontAscent :: IO Int
getMaximumFontDescent :: IO Int
createColorModifier :: IO ImlibColorModifier
freeColorModifier :: IO ()
modifyColorModifierGamma :: Double -> IO ()
modifyColorModifierBrightness :: Double -> IO ()
modifyColorModifierContrast :: Double -> IO ()
setColorModifierTables :: [Word8] -> [Word8] -> [Word8] -> [Word8] -> IO ()
getColorModifierTables :: IO ([Word8], [Word8], [Word8], [Word8])
resetColorModifier :: IO ()
applyColorModifier :: IO ()
applyColorModifierToRectangle :: Int -> Int -> Int -> Int -> IO ()
imageDrawLine :: Int -> Int -> Int -> Int -> Bool -> IO ImlibUpdates
imageDrawRectangle :: Int -> Int -> Int -> Int -> IO ()
imageFillRectangle :: Int -> Int -> Int -> Int -> IO ()
imageCopyAlphaToImage :: ImlibImage -> Int -> Int -> IO ()
imageCopyAlphaRectangleToImage :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => ImlibImage -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
imageScrollRect :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
imageCopyRect :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
createColorRange :: IO ImlibColorRange
freeColorRange :: IO ()
addColorToColorRange :: Int -> IO ()
imageFillColorRangeRectangle :: (Real a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> IO ()
imageFillHsvaColorRangeRectangle :: (Real a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> IO ()
imageQueryPixel :: Int -> Int -> IO ImlibColor
imageQueryPixelCmya :: Int -> Int -> IO (Int, Int, Int, Int)
imageQueryPixelHsva :: Int -> Int -> IO (Int, Int, Int, Int)
imageQueryPixelHlsa :: Int -> Int -> IO (Int, Int, Int, Int)
imageAttachDataValue :: String -> Ptr () -> Int -> ImlibDataDestructorFunction -> IO ()
imageGetAttachedData :: String -> IO (Ptr ())
imageGetAttachedValue :: String -> IO Int
imageRemoveAttachedDataValue :: String -> IO ()
imageRemoveAndFreeAttachedDataValue :: String -> IO ()
saveImage :: String -> IO ()
saveImageWithErrorReturn :: String -> IO ImlibLoadError
createRotatedImage :: Double -> IO ImlibImage
blendImageOntoImageAtAngle :: (Integral a8, Integral a7, Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => Ptr ImlibImage -> Bool -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> a8 -> IO ()
blendImageOntoImageSkewed :: (Integral a10, Integral a9, Integral a8, Integral a7, Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => Ptr ImlibImage -> Bool -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> a8 -> a9 -> a10 -> IO ()
contextSetCliprect :: Int -> Int -> Int -> Int -> IO ()
polygonNew :: IO ()
polygonFree :: ImlibPolygon -> IO ()
polygonAddPoint :: (Integral a2, Integral a1) => ImlibPolygon -> a1 -> a2 -> IO ()
imageDrawPolygon :: ImlibPolygon -> Bool -> IO ()
imageFillPolygon :: ImlibPolygon -> IO ()
polygonGetBounds :: Num d => ImlibPolygon -> IO (d, d, d, d)
polygonContainsPoint :: (Integral a2, Integral a1) => ImlibPolygon -> a1 -> a2 -> IO Bool
imageDrawEllipse :: (Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> IO ()
imageFillEllipse :: (Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> IO ()
imageFilter :: IO ()
createFilter :: Int -> IO ImlibFilter
freeFilter :: IO ()
filterSet :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
filterSetAlpha :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
filterSetRed :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
filterSetGreen :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
filterSetBlue :: (Integral a6, Integral a5, Integral a4, Integral a3, Integral a2, Integral a1) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ()
filterConstants :: Int -> Int -> Int -> Int -> IO ()
filterDivisors :: Int -> Int -> Int -> Int -> IO ()
createImageUsingArray :: Array (Int, Int) ImlibColor -> IO ImlibImage
withImageBits :: (Int -> Int -> [Word32] -> [Word32]) -> IO ()
withImage :: (Int -> Int -> [ImlibColor] -> [ImlibColor]) -> IO ()
colorFromBits :: Word32 -> ImlibColor
colorToBits :: ImlibColor -> Word32
instance GHC.Classes.Eq Graphics.Imlib.ImlibTTFEncoding
instance GHC.Show.Show Graphics.Imlib.ImlibTTFEncoding
instance GHC.Enum.Enum Graphics.Imlib.ImlibTTFEncoding
instance GHC.Classes.Eq Graphics.Imlib.ImlibLoadError
instance GHC.Enum.Enum Graphics.Imlib.ImlibLoadError
instance GHC.Show.Show Graphics.Imlib.ImlibLoadError
instance GHC.Classes.Eq Graphics.Imlib.ImlibTextDirection
instance GHC.Show.Show Graphics.Imlib.ImlibTextDirection
instance GHC.Enum.Enum Graphics.Imlib.ImlibTextDirection
instance GHC.Classes.Eq Graphics.Imlib.ImlibOperation
instance GHC.Show.Show Graphics.Imlib.ImlibOperation
instance GHC.Enum.Enum Graphics.Imlib.ImlibOperation
instance GHC.Classes.Eq Graphics.Imlib.ImlibColor
instance GHC.Show.Show Graphics.Imlib.ImlibColor
instance GHC.Classes.Eq Graphics.Imlib.ImlibBorder
instance GHC.Show.Show Graphics.Imlib.ImlibBorder
instance Foreign.Storable.Storable Graphics.Imlib.ImlibColor
instance Foreign.Storable.Storable Graphics.Imlib.ImlibBorder
