Imlib-0.1.2Source codeContentsIndex
Graphics.Imlib
Documentation
type ImlibProgressFunction = ImlibImage -> Word8 -> CInt -> CInt -> CInt -> CInt -> IO CIntSource
type ImlibDataDestructorFunction = ImlibImage -> Ptr () -> IO ()Source
data ImlibTTFEncoding Source
Constructors
ImlibTTFEncodingISO88591
ImlibTTFEncodingISO88592
ImlibTTFEncodingISO88593
ImlibTTFEncodingISO88594
ImlibTTFEncodingISO88595
show/hide Instances
data ImlibLoadError Source
Constructors
ImlibLoadErrorNone
ImlibLoadErrorFileDoesNotExist
ImlibLoadErrorFileIsDirectory
ImlibLoadErrorPermissionDeniedToRead
ImlibLoadErrorNoLoaderForFileFormat
ImlibLoadErrorPathTooLong
ImlibLoadErrorPathComponentNonExistant
ImlibLoadErrorPathComponentNotDirectory
ImlibLoadErrorPathPointsOutsideAddressSpace
ImlibLoadErrorTooManySymbolicLinks
ImlibLoadErrorOutOfMemory
ImlibLoadErrorOutOfFileDescriptors
ImlibLoadErrorPermissionDeniedToWrite
ImlibLoadErrorOutOfDiskSpace
ImlibLoadErrorUnknown
show/hide Instances
data ImlibTextDirection Source
Constructors
ImlibTextToRight
ImlibTextToLeft
ImlibTextToDown
ImlibTextToUp
ImlibTextToAngle
show/hide Instances
data ImlibOperation Source
Constructors
ImlibOpCopy
ImlibOpAdd
ImlibOpSubtract
ImlibOpReshade
show/hide Instances
data ImlibColor Source
Constructors
ImlibColor Word32 Word32 Word32 Word32
show/hide Instances
data ImlibBorder Source
Constructors
ImlibBorder CInt CInt CInt CInt
show/hide Instances
data ImlibPolygon Source
data ImlibFilter Source
data ImlibColorRange Source
data ImlibFont 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
contextSetColorModifier :: ImlibColorModifier -> IO ()Source
contextSetOperation :: ImlibOperation -> IO ()Source
contextSetFont :: ImlibFont -> IO ()Source
contextSetDirection :: ImlibTextDirection -> IO ()Source
contextSetAngle :: Double -> IO ()Source
contextSetColor :: Int -> Int -> Int -> Int -> IO ()Source
contextSetColorCmya :: Int -> Int -> Int -> Int -> IO ()Source
contextSetColorHsva :: (Integral a, Integral a1, Integral a2, Integral a3) => a -> a1 -> a2 -> a3 -> IO ()Source
contextSetColorHlsa :: (Integral a, Integral a1, Integral a2, Integral a3) => a -> a1 -> a2 -> a3 -> IO ()Source
contextSetColorRange :: ImlibColorRange -> IO ()Source
contextSetProgressFunction :: ImlibProgressFunction -> IO ()Source
contextSetProgressGranularity :: Word8 -> IO ()Source
contextSetFilter :: ImlibFilter -> IO ()Source
contextSetImage :: ImlibImage -> IO ()Source
contextGetDitherMask :: IO BoolSource
contextGetAntiAlias :: IO BoolSource
contextGetDither :: IO BoolSource
contextGetBlend :: IO BoolSource
contextGetColorModifier :: IO ImlibColorModifierSource
contextGetOperation :: IO ImlibOperationSource
contextGetFont :: IO ImlibFontSource
contextGetAngle :: IO DoubleSource
contextGetDirection :: IO ImlibTextDirectionSource
contextGetColor :: IO (Int, Int, Int, Int)Source
contextGetColorCmya :: IO (Int, Int, Int, Int)Source
contextGetColorHsva :: IO (Int, Int, Int, Int)Source
contextGetColorHlsa :: IO (Int, Int, Int, Int)Source
contextGetImlibColor :: IO ImlibColorSource
contextGetColorRange :: IO ImlibColorRangeSource
contextGetProgressFunction :: IO (FunPtr ImlibProgressFunction)Source
contextGetProgressGranularity :: IO Word8Source
contextGetImage :: IO ImlibImageSource
contextGetFilter :: IO ImlibFilterSource
getCacheSize :: IO IntSource
setCacheSize :: Int -> IO ()Source
getColorUsage :: IO IntSource
setColorUsage :: Int -> IO ()Source
flushLoaders :: IO ()Source
loadImage :: String -> IO ImlibImageSource
loadImageImmediately :: String -> IO ImlibImageSource
loadImageWithoutCache :: String -> IO ImlibImageSource
loadImageImmediatelyWithoutCache :: String -> IO ImlibImageSource
loadImageWithErrorReturn :: String -> IO (ImlibImage, ImlibLoadError)Source
freeImage :: IO ()Source
freeImageAndDecache :: IO ()Source
imageGetWidth :: IO IntSource
imageGetHeight :: IO IntSource
imageGetFilename :: IO StringSource
imageGetData :: IO (Ptr Word32)Source
imageGetDataForReadingOnly :: IO (Ptr Word32)Source
imagePutBackData :: Ptr Word32 -> IO ()Source
imageWithData :: (Ptr Word32 -> IO a) -> IO aSource
imageHasAlpha :: IO BoolSource
imageSetChangesOnDisk :: IO ()Source
imageGetBorder :: IO ImlibBorderSource
imageSetBorder :: ImlibBorder -> IO ()Source
imageSetFormat :: String -> IO ()Source
imageSetIrrelevantFormat :: Bool -> IO ()Source
imageSetIrrelevantBorder :: Bool -> IO ()Source
imageSetIrrelevantAlpha :: Bool -> IO ()Source
imageFormat :: IO StringSource
imageSetHasAlpha :: Bool -> IO ()Source
blendImageOntoImage :: (Integral t, Integral t1, Integral t2, Integral t3, Integral t4, Integral t5, Integral t6, Integral t7) => ImlibImage -> Bool -> (t, t1, t2, t3) -> (t4, t5, t6, t7) -> IO ()Source
createImage :: Int -> Int -> IO ImlibImageSource
createImageUsingData :: Int -> Int -> Ptr Word32 -> IO ImlibImageSource
createImageUsingCopiedData :: (Integral a, Integral a1) => a -> a1 -> Ptr Word32 -> IO ImlibImageSource
cloneImage :: IO ImlibImageSource
createCroppedImage :: (Integral a, Integral a1, Integral a2, Integral a3) => a -> a1 -> a2 -> a3 -> IO ImlibImageSource
createCroppedScaledImage :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ImlibImageSource
updatesClone :: ImlibUpdates -> IO ImlibUpdatesSource
updateAppendRect :: (Integral a, Integral a1, Integral a2, Integral a3) => ImlibUpdates -> a -> a1 -> a2 -> a3 -> IO ImlibUpdatesSource
updatesMerge :: (Integral a, Integral a1) => ImlibUpdates -> a -> a1 -> IO ImlibUpdatesSource
updatesMergeForRendering :: (Integral a, Integral a1) => ImlibUpdates -> a -> a1 -> IO ImlibUpdatesSource
updatesFree :: ImlibUpdates -> IO ()Source
updatesGetNext :: ImlibUpdates -> IO ImlibUpdatesSource
updatesGetCoordinates :: ImlibUpdates -> IO (Int, Int, Int, Int)Source
updatesSetCoordinates :: (Integral a, Integral a1, Integral a2, Integral a3) => ImlibUpdates -> a -> a1 -> a2 -> a3 -> IO ()Source
updatesInit :: IO ImlibUpdatesSource
updatesAppendUpdates :: ImlibUpdates -> ImlibUpdates -> IO ImlibUpdatesSource
imageFlipHorizontal :: IO ()Source
imageFlipVertical :: IO ()Source
imageFlipDiagonal :: IO ()Source
imageOrientate :: Int -> IO ()Source
imageBlur :: Int -> IO ()Source
imageSharpen :: Int -> IO ()Source
imageTileHorizontal :: IO ()Source
imageTileVertical :: IO ()Source
imageTile :: IO ()Source
loadFont :: String -> IO ImlibFontSource
freeFont :: forall t. t -> IO ()Source
textDraw :: Int -> Int -> String -> IO ()Source
textDrawWithReturnMetrics :: (Integral a, Integral a1, Num b) => a -> a1 -> String -> IO (b, b, b, b)Source
getTextSize :: String -> IO (Int, Int)Source
getTextAdvance :: String -> IO (Int, Int)Source
getTextInset :: String -> IO IntSource
addPathToFontPath :: String -> IO ()Source
removePathFromFontPath :: String -> IO ()Source
listFontPath :: IO [String]Source
textGetIndexAndLocation :: (Num b, Num b1, Num b2, Num b3, Num b4) => String -> CInt -> CInt -> IO (b, b1, b2, b3, b4)Source
textGetLocationAtIndex :: (Num b, Num b1, Num b2, Num b3) => String -> CInt -> IO (b, b1, b2, b3)Source
listFonts :: IO [String]Source
getFontCacheSize :: IO IntSource
setFontCacheSize :: Int -> IO ()Source
flushFontCache :: IO ()Source
getFontAscent :: IO IntSource
getFontDescent :: IO IntSource
getMaximumFontAscent :: IO IntSource
getMaximumFontDescent :: IO IntSource
createColorModifier :: IO ImlibColorModifierSource
freeColorModifier :: IO ()Source
modifyColorModifierGamma :: Double -> IO ()Source
modifyColorModifierBrightness :: Double -> IO ()Source
modifyColorModifierContrast :: Double -> IO ()Source
setColorModifierTables :: [Word8] -> [Word8] -> [Word8] -> [Word8] -> IO ()Source
getColorModifierTables :: IO ([Word8], [Word8], [Word8], [Word8])Source
resetColorModifier :: IO ()Source
applyColorModifier :: IO ()Source
applyColorModifierToRectangle :: Int -> Int -> Int -> Int -> IO ()Source
imageDrawLine :: Int -> Int -> Int -> Int -> Bool -> IO ImlibUpdatesSource
imageDrawRectangle :: Int -> Int -> Int -> Int -> IO ()Source
imageFillRectangle :: Int -> Int -> Int -> Int -> IO ()Source
imageCopyAlphaToImage :: ImlibImage -> Int -> Int -> IO ()Source
imageCopyAlphaRectangleToImage :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => ImlibImage -> a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
imageScrollRect :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
imageCopyRect :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
createColorRange :: IO ImlibColorRangeSource
freeColorRange :: IO ()Source
addColorToColorRange :: Int -> IO ()Source
imageFillColorRangeRectangle :: (Integral a, Integral a1, Integral a2, Integral a3, Real a4) => a -> a1 -> a2 -> a3 -> a4 -> IO ()Source
imageFillHsvaColorRangeRectangle :: (Integral a, Integral a1, Integral a2, Integral a3, Real a4) => a -> a1 -> a2 -> a3 -> a4 -> IO ()Source
imageQueryPixel :: Int -> Int -> IO ImlibColorSource
imageQueryPixelCmya :: Int -> Int -> IO (Int, Int, Int, Int)Source
imageQueryPixelHsva :: Int -> Int -> IO (Int, Int, Int, Int)Source
imageQueryPixelHlsa :: Int -> Int -> IO (Int, Int, Int, Int)Source
imageAttachDataValue :: String -> Ptr () -> Int -> ImlibDataDestructorFunction -> IO ()Source
imageGetAttachedData :: String -> IO (Ptr ())Source
imageGetAttachedValue :: String -> IO IntSource
imageRemoveAttachedDataValue :: String -> IO ()Source
imageRemoveAndFreeAttachedDataValue :: String -> IO ()Source
saveImage :: String -> IO ()Source
saveImageWithErrorReturn :: String -> IO ImlibLoadErrorSource
createRotatedImage :: Double -> IO ImlibImageSource
blendImageOntoImageAtAngle :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6, Integral a7) => Ptr ImlibImage -> Bool -> a -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> IO ()Source
blendImageOntoImageSkewed :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6, Integral a7, Integral a8, Integral a9) => Ptr ImlibImage -> Bool -> a -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> a8 -> a9 -> IO ()Source
contextSetCliprect :: Int -> Int -> Int -> Int -> IO ()Source
polygonNew :: IO ()Source
polygonFree :: ImlibPolygon -> IO ()Source
polygonAddPoint :: (Integral a, Integral a1) => ImlibPolygon -> a -> a1 -> IO ()Source
imageDrawPolygon :: ImlibPolygon -> Bool -> IO ()Source
imageFillPolygon :: ImlibPolygon -> IO ()Source
polygonGetBounds :: Num b => ImlibPolygon -> IO (b, b, b, b)Source
polygonContainsPoint :: (Integral a, Integral a1) => ImlibPolygon -> a -> a1 -> IO BoolSource
imageDrawEllipse :: (Integral a, Integral a1, Integral a2, Integral a3) => a -> a1 -> a2 -> a3 -> IO ()Source
imageFillEllipse :: (Integral a, Integral a1, Integral a2, Integral a3) => a -> a1 -> a2 -> a3 -> IO ()Source
imageFilter :: IO ()Source
createFilter :: Int -> IO ImlibFilterSource
freeFilter :: IO ()Source
filterSet :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
filterSetAlpha :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
filterSetRed :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
filterSetGreen :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
filterSetBlue :: (Integral a, Integral a1, Integral a2, Integral a3, Integral a4, Integral a5) => a -> a1 -> a2 -> a3 -> a4 -> a5 -> IO ()Source
filterConstants :: Int -> Int -> Int -> Int -> IO ()Source
filterDivisors :: Int -> Int -> Int -> Int -> IO ()Source
createImageUsingArray :: Array (Int, Int) ImlibColor -> IO ImlibImageSource
withImageBits :: (Int -> Int -> [Word32] -> [Word32]) -> IO ()Source
withImage :: (Int -> Int -> [ImlibColor] -> [ImlibColor]) -> IO ()Source
colorFromBits :: Word32 -> ImlibColorSource
colorToBits :: ImlibColor -> Word32Source
Produced by Haddock version 2.6.0