Graphics.Imlib
Documentation
type ImlibProgressFunction = ImlibImage -> Word8 -> Int -> Int -> Int -> Int -> IO IntSource
type ImlibDataDestructorFunction = ImlibImage -> Ptr () -> IO ()Source
data ImlibTTFEncoding Source
data ImlibLoadError Source
Constructors
Instances
data ImlibTextDirection Source
data ImlibOperation Source
Constructors
| ImlibOpCopy | |
| ImlibOpAdd | |
| ImlibOpSubtract | |
| ImlibOpReshade |
Instances
data ImlibPolygon Source
data ImlibFilter Source
data ImlibColorRange Source
data ImlibUpdates Source
data ImlibColorModifier Source
data ImlibImage Source
data ImlibContext Source
contextSetDitherMask :: Bool -> IO ()Source
contextSetAntiAlias :: Bool -> IO ()Source
contextSetDither :: Bool -> IO ()Source
contextSetBlend :: Bool -> IO ()Source
contextSetFont :: ImlibFont -> IO ()Source
contextSetAngle :: Double -> IO ()Source
contextSetImage :: ImlibImage -> IO ()Source
setCacheSize :: Int -> IO ()Source
setColorUsage :: Int -> IO ()Source
loadImage :: String -> IO ImlibImageSource
imageGetData :: IO (Ptr Word32)Source
imageSetBorder :: ImlibBorder -> IO ()Source
imageSetFormat :: String -> IO ()Source
imageSetHasAlpha :: Bool -> IO ()Source
blendImageOntoImage :: ImlibImage -> (Bool, Int, Int, Int) -> (Int, Int, Int, Int) -> Int -> IO ()Source
createImage :: Int -> Int -> IO ImlibImageSource
createImageUsingData :: Int -> Int -> Ptr Word32 -> IO ImlibImageSource
createImageUsingCopiedData :: Int -> Int -> Ptr Word32 -> IO ImlibImageSource
createCroppedImage :: Int -> Int -> Int -> Int -> IO ImlibImageSource
createCroppedScaledImage :: Int -> Int -> Int -> Int -> Int -> Int -> IO ImlibImageSource
updateAppendRect :: ImlibUpdates -> Int -> Int -> Int -> Int -> IO ImlibUpdatesSource
updatesMerge :: ImlibUpdates -> Int -> Int -> IO ImlibUpdatesSource
updatesMergeForRendering :: ImlibUpdates -> Int -> Int -> IO ImlibUpdatesSource
updatesFree :: ImlibUpdates -> IO ()Source
updatesGetCoordinates :: ImlibUpdates -> IO (Int, Int, Int, Int)Source
updatesSetCoordinates :: ImlibUpdates -> Int -> Int -> Int -> Int -> IO ()Source
imageOrientate :: Int -> IO ()Source
imageSharpen :: Int -> IO ()Source
getTextInset :: String -> IO IntSource
addPathToFontPath :: String -> IO ()Source
listFontPath :: IO [String]Source
setFontCacheSize :: Int -> IO ()Source
imageDrawLine :: Int -> Int -> Int -> Int -> Bool -> IO ImlibUpdatesSource
imageCopyAlphaToImage :: ImlibImage -> Int -> Int -> IO ()Source
imageCopyAlphaRectangleToImage :: ImlibImage -> Int -> Int -> Int -> Int -> Int -> Int -> IO ()Source
addColorToColorRange :: Int -> IO ()Source
imageQueryPixel :: Int -> Int -> IO ImlibColorSource
imageAttachDataValue :: String -> Ptr () -> Int -> ImlibDataDestructorFunction -> IO ()Source
blendImageOntoImageAtAngle :: Ptr ImlibImage -> Bool -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> IO ()Source
blendImageOntoImageSkewed :: Ptr ImlibImage -> Bool -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> IO ()Source
polygonNew :: IO ()Source
polygonFree :: ImlibPolygon -> IO ()Source
polygonAddPoint :: ImlibPolygon -> Int -> Int -> IO ()Source
imageDrawPolygon :: ImlibPolygon -> Bool -> IO ()Source
polygonGetBounds :: ImlibPolygon -> IO (Int, Int, Int, Int)Source
polygonContainsPoint :: ImlibPolygon -> Int -> Int -> IO BoolSource
createFilter :: Int -> IO ImlibFilterSource
freeFilter :: IO ()Source
createImageUsingArray :: Array (Int, Int) ImlibColor -> IO ImlibImageSource
withImage :: (Int -> Int -> [ImlibColor] -> [ImlibColor]) -> IO ()Source