-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell binding for Imlib 2 @package Imlib @version 0.1.1 module Graphics.Imlib type ImlibProgressFunction = ImlibImage -> Word8 -> Int -> Int -> Int -> Int -> IO Int 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 :: Int -> Int -> Int -> Int -> 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 :: Int -> Int -> Int -> Int -> IO () contextSetColorHlsa :: Int -> Int -> Int -> Int -> 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 :: ImlibImage -> (Bool, Int, Int, Int) -> (Int, Int, Int, Int) -> Int -> IO () createImage :: Int -> Int -> IO ImlibImage createImageUsingData :: Int -> Int -> Ptr Word32 -> IO ImlibImage createImageUsingCopiedData :: Int -> Int -> Ptr Word32 -> IO ImlibImage cloneImage :: IO ImlibImage createCroppedImage :: Int -> Int -> Int -> Int -> IO ImlibImage createCroppedScaledImage :: Int -> Int -> Int -> Int -> Int -> Int -> IO ImlibImage updatesClone :: ImlibUpdates -> IO ImlibUpdates updateAppendRect :: ImlibUpdates -> Int -> Int -> Int -> Int -> IO ImlibUpdates updatesMerge :: ImlibUpdates -> Int -> Int -> IO ImlibUpdates updatesMergeForRendering :: ImlibUpdates -> Int -> Int -> IO ImlibUpdates updatesFree :: ImlibUpdates -> IO () updatesGetNext :: ImlibUpdates -> IO ImlibUpdates updatesGetCoordinates :: ImlibUpdates -> IO (Int, Int, Int, Int) updatesSetCoordinates :: ImlibUpdates -> Int -> Int -> Int -> Int -> 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 :: t -> IO () textDraw :: Int -> Int -> String -> IO () textDrawWithReturnMetrics :: Int -> Int -> String -> IO (Int, Int, Int, Int) getTextSize :: String -> IO (Int, Int) getTextAdvance :: String -> IO (Int, Int) getTextInset :: String -> IO Int addPathToFontPath :: String -> IO () removePathFromFontPath :: String -> IO () listFontPath :: IO [String] textGetIndexAndLocation :: String -> Int -> Int -> IO (Int, Int, Int, Int, Int) textGetLocationAtIndex :: String -> Int -> IO (Int, Int, Int, Int) 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 :: ImlibImage -> Int -> Int -> Int -> Int -> Int -> Int -> IO () imageScrollRect :: Int -> Int -> Int -> Int -> Int -> Int -> IO () imageCopyRect :: Int -> Int -> Int -> Int -> Int -> Int -> IO () createColorRange :: IO ImlibColorRange freeColorRange :: IO () addColorToColorRange :: Int -> IO () imageFillColorRangeRectangle :: Int -> Int -> Int -> Int -> Double -> IO () imageFillHsvaColorRangeRectangle :: Int -> Int -> Int -> Int -> Double -> 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 :: Ptr ImlibImage -> Bool -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> IO () blendImageOntoImageSkewed :: Ptr ImlibImage -> Bool -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> IO () contextSetCliprect :: Int -> Int -> Int -> Int -> IO () polygonNew :: IO () polygonFree :: ImlibPolygon -> IO () polygonAddPoint :: ImlibPolygon -> Int -> Int -> IO () imageDrawPolygon :: ImlibPolygon -> Bool -> IO () imageFillPolygon :: ImlibPolygon -> IO () polygonGetBounds :: ImlibPolygon -> IO (Int, Int, Int, Int) polygonContainsPoint :: ImlibPolygon -> Int -> Int -> IO Bool imageDrawEllipse :: Int -> Int -> Int -> Int -> IO () imageFillEllipse :: Int -> Int -> Int -> Int -> IO () imageFilter :: IO () createFilter :: Int -> IO ImlibFilter freeFilter :: IO () filterSet :: Int -> Int -> Int -> Int -> Int -> Int -> IO () filterSetAlpha :: Int -> Int -> Int -> Int -> Int -> Int -> IO () filterSetRed :: Int -> Int -> Int -> Int -> Int -> Int -> IO () filterSetGreen :: Int -> Int -> Int -> Int -> Int -> Int -> IO () filterSetBlue :: Int -> Int -> Int -> Int -> Int -> Int -> 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 () instance Enum ImlibTTFEncoding instance Show ImlibTTFEncoding instance Eq ImlibTTFEncoding instance Show ImlibLoadError instance Enum ImlibLoadError instance Eq ImlibLoadError instance Enum ImlibTextDirection instance Show ImlibTextDirection instance Eq ImlibTextDirection instance Enum ImlibOperation instance Show ImlibOperation instance Eq ImlibOperation instance Show ImlibColor instance Eq ImlibColor instance Show ImlibBorder instance Eq ImlibBorder instance Storable ImlibColor instance Storable ImlibBorder