| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Graphics.Imlib
Documentation
type ImlibProgressFunction = ImlibImage -> Word8 -> CInt -> CInt -> CInt -> CInt -> IO CInt #
type ImlibDataDestructorFunction = ImlibImage -> Ptr () -> IO () #
data ImlibTTFEncoding #
Constructors
| ImlibTTFEncodingISO88591 | |
| ImlibTTFEncodingISO88592 | |
| ImlibTTFEncodingISO88593 | |
| ImlibTTFEncodingISO88594 | |
| ImlibTTFEncodingISO88595 |
Instances
| Enum ImlibTTFEncoding # | |
Defined in Graphics.Imlib Methods succ :: ImlibTTFEncoding -> ImlibTTFEncoding # pred :: ImlibTTFEncoding -> ImlibTTFEncoding # toEnum :: Int -> ImlibTTFEncoding # fromEnum :: ImlibTTFEncoding -> Int # enumFrom :: ImlibTTFEncoding -> [ImlibTTFEncoding] # enumFromThen :: ImlibTTFEncoding -> ImlibTTFEncoding -> [ImlibTTFEncoding] # enumFromTo :: ImlibTTFEncoding -> ImlibTTFEncoding -> [ImlibTTFEncoding] # enumFromThenTo :: ImlibTTFEncoding -> ImlibTTFEncoding -> ImlibTTFEncoding -> [ImlibTTFEncoding] # | |
| Eq ImlibTTFEncoding # | |
Defined in Graphics.Imlib Methods (==) :: ImlibTTFEncoding -> ImlibTTFEncoding -> Bool # (/=) :: ImlibTTFEncoding -> ImlibTTFEncoding -> Bool # | |
| Show ImlibTTFEncoding # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibTTFEncoding -> ShowS # show :: ImlibTTFEncoding -> String # showList :: [ImlibTTFEncoding] -> ShowS # | |
data ImlibLoadError #
Constructors
Instances
| Enum ImlibLoadError # | |
Defined in Graphics.Imlib Methods succ :: ImlibLoadError -> ImlibLoadError # pred :: ImlibLoadError -> ImlibLoadError # toEnum :: Int -> ImlibLoadError # fromEnum :: ImlibLoadError -> Int # enumFrom :: ImlibLoadError -> [ImlibLoadError] # enumFromThen :: ImlibLoadError -> ImlibLoadError -> [ImlibLoadError] # enumFromTo :: ImlibLoadError -> ImlibLoadError -> [ImlibLoadError] # enumFromThenTo :: ImlibLoadError -> ImlibLoadError -> ImlibLoadError -> [ImlibLoadError] # | |
| Eq ImlibLoadError # | |
Defined in Graphics.Imlib Methods (==) :: ImlibLoadError -> ImlibLoadError -> Bool # (/=) :: ImlibLoadError -> ImlibLoadError -> Bool # | |
| Show ImlibLoadError # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibLoadError -> ShowS # show :: ImlibLoadError -> String # showList :: [ImlibLoadError] -> ShowS # | |
data ImlibTextDirection #
Instances
| Enum ImlibTextDirection # | |
Defined in Graphics.Imlib Methods succ :: ImlibTextDirection -> ImlibTextDirection # pred :: ImlibTextDirection -> ImlibTextDirection # toEnum :: Int -> ImlibTextDirection # fromEnum :: ImlibTextDirection -> Int # enumFrom :: ImlibTextDirection -> [ImlibTextDirection] # enumFromThen :: ImlibTextDirection -> ImlibTextDirection -> [ImlibTextDirection] # enumFromTo :: ImlibTextDirection -> ImlibTextDirection -> [ImlibTextDirection] # enumFromThenTo :: ImlibTextDirection -> ImlibTextDirection -> ImlibTextDirection -> [ImlibTextDirection] # | |
| Eq ImlibTextDirection # | |
Defined in Graphics.Imlib Methods (==) :: ImlibTextDirection -> ImlibTextDirection -> Bool # (/=) :: ImlibTextDirection -> ImlibTextDirection -> Bool # | |
| Show ImlibTextDirection # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibTextDirection -> ShowS # show :: ImlibTextDirection -> String # showList :: [ImlibTextDirection] -> ShowS # | |
data ImlibOperation #
Constructors
| ImlibOpCopy | |
| ImlibOpAdd | |
| ImlibOpSubtract | |
| ImlibOpReshade |
Instances
| Enum ImlibOperation # | |
Defined in Graphics.Imlib Methods succ :: ImlibOperation -> ImlibOperation # pred :: ImlibOperation -> ImlibOperation # toEnum :: Int -> ImlibOperation # fromEnum :: ImlibOperation -> Int # enumFrom :: ImlibOperation -> [ImlibOperation] # enumFromThen :: ImlibOperation -> ImlibOperation -> [ImlibOperation] # enumFromTo :: ImlibOperation -> ImlibOperation -> [ImlibOperation] # enumFromThenTo :: ImlibOperation -> ImlibOperation -> ImlibOperation -> [ImlibOperation] # | |
| Eq ImlibOperation # | |
Defined in Graphics.Imlib Methods (==) :: ImlibOperation -> ImlibOperation -> Bool # (/=) :: ImlibOperation -> ImlibOperation -> Bool # | |
| Show ImlibOperation # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibOperation -> ShowS # show :: ImlibOperation -> String # showList :: [ImlibOperation] -> ShowS # | |
data ImlibColor #
Constructors
| ImlibColor Word32 Word32 Word32 Word32 |
Instances
| Eq ImlibColor # | |
Defined in Graphics.Imlib | |
| Show ImlibColor # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibColor -> ShowS # show :: ImlibColor -> String # showList :: [ImlibColor] -> ShowS # | |
| Storable ImlibColor # | |
Defined in Graphics.Imlib Methods sizeOf :: ImlibColor -> Int # alignment :: ImlibColor -> Int # peekElemOff :: Ptr ImlibColor -> Int -> IO ImlibColor # pokeElemOff :: Ptr ImlibColor -> Int -> ImlibColor -> IO () # peekByteOff :: Ptr b -> Int -> IO ImlibColor # pokeByteOff :: Ptr b -> Int -> ImlibColor -> IO () # peek :: Ptr ImlibColor -> IO ImlibColor # poke :: Ptr ImlibColor -> ImlibColor -> IO () # | |
data ImlibBorder #
Constructors
| ImlibBorder CInt CInt CInt CInt |
Instances
| Eq ImlibBorder # | |
Defined in Graphics.Imlib | |
| Show ImlibBorder # | |
Defined in Graphics.Imlib Methods showsPrec :: Int -> ImlibBorder -> ShowS # show :: ImlibBorder -> String # showList :: [ImlibBorder] -> ShowS # | |
| Storable ImlibBorder # | |
Defined in Graphics.Imlib Methods sizeOf :: ImlibBorder -> Int # alignment :: ImlibBorder -> Int # peekElemOff :: Ptr ImlibBorder -> Int -> IO ImlibBorder # pokeElemOff :: Ptr ImlibBorder -> Int -> ImlibBorder -> IO () # peekByteOff :: Ptr b -> Int -> IO ImlibBorder # pokeByteOff :: Ptr b -> Int -> ImlibBorder -> IO () # peek :: Ptr ImlibBorder -> IO ImlibBorder # poke :: Ptr ImlibBorder -> ImlibBorder -> IO () # | |
data ImlibPolygon #
data ImlibFilter #
data ImlibColorRange #
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 () #
contextSetColorHsva :: (Integral a1, Integral a2, Integral a3, Integral a4) => a1 -> a2 -> a3 -> a4 -> IO () #
contextSetColorHlsa :: (Integral a1, Integral a2, Integral a3, Integral a4) => a1 -> a2 -> a3 -> a4 -> IO () #
contextSetColorRange :: ImlibColorRange -> IO () #
contextSetProgressGranularity :: Word8 -> IO () #
contextSetFilter :: ImlibFilter -> IO () #
contextSetImage :: ImlibImage -> IO () #
contextGetDither :: IO Bool #
contextGetBlend :: IO Bool #
contextGetAngle :: IO Double #
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 #
freeImageAndDecache :: IO () #
imageGetWidth :: IO Int #
imageGetHeight :: IO Int #
imageGetData :: IO (Ptr Word32) #
imagePutBackData :: Ptr Word32 -> IO () #
imageHasAlpha :: IO Bool #
imageSetChangesOnDisk :: IO () #
imageSetBorder :: ImlibBorder -> IO () #
imageSetFormat :: String -> IO () #
imageSetIrrelevantFormat :: Bool -> IO () #
imageSetIrrelevantBorder :: Bool -> IO () #
imageSetIrrelevantAlpha :: Bool -> IO () #
imageFormat :: IO String #
imageSetHasAlpha :: Bool -> IO () #
blendImageOntoImage :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6, Integral a7, Integral a8) => 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 a1, Integral a2) => a1 -> a2 -> Ptr Word32 -> IO ImlibImage #
cloneImage :: IO ImlibImage #
createCroppedImage :: (Integral a1, Integral a2, Integral a3, Integral a4) => a1 -> a2 -> a3 -> a4 -> IO ImlibImage #
createCroppedScaledImage :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO ImlibImage #
updatesClone :: ImlibUpdates -> IO ImlibUpdates #
updateAppendRect :: (Integral a1, Integral a2, Integral a3, Integral a4) => ImlibUpdates -> a1 -> a2 -> a3 -> a4 -> IO ImlibUpdates #
updatesMerge :: (Integral a1, Integral a2) => ImlibUpdates -> a1 -> a2 -> IO ImlibUpdates #
updatesMergeForRendering :: (Integral a1, Integral a2) => ImlibUpdates -> a1 -> a2 -> IO ImlibUpdates #
updatesFree :: ImlibUpdates -> IO () #
updatesGetCoordinates :: ImlibUpdates -> IO (Int, Int, Int, Int) #
updatesSetCoordinates :: (Integral a1, Integral a2, Integral a3, Integral a4) => ImlibUpdates -> a1 -> a2 -> a3 -> a4 -> IO () #
imageFlipHorizontal :: IO () #
imageFlipVertical :: IO () #
imageFlipDiagonal :: IO () #
imageOrientate :: Int -> IO () #
imageSharpen :: Int -> IO () #
imageTileHorizontal :: IO () #
imageTileVertical :: IO () #
textDrawWithReturnMetrics :: (Integral a1, Integral a2, Num d) => a1 -> a2 -> String -> IO (d, d, d, d) #
getTextInset :: String -> IO Int #
addPathToFontPath :: String -> IO () #
removePathFromFontPath :: String -> IO () #
listFontPath :: IO [String] #
textGetIndexAndLocation :: (Num a, Num b, Num c, Num d, Num e) => String -> CInt -> CInt -> IO (a, b, c, d, e) #
getFontCacheSize :: IO Int #
setFontCacheSize :: Int -> IO () #
flushFontCache :: IO () #
getFontAscent :: IO Int #
getFontDescent :: IO Int #
freeColorModifier :: IO () #
modifyColorModifierGamma :: Double -> IO () #
modifyColorModifierBrightness :: Double -> IO () #
modifyColorModifierContrast :: Double -> IO () #
resetColorModifier :: IO () #
applyColorModifier :: IO () #
imageDrawLine :: Int -> Int -> Int -> Int -> Bool -> IO ImlibUpdates #
imageCopyAlphaToImage :: ImlibImage -> Int -> Int -> IO () #
imageCopyAlphaRectangleToImage :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => ImlibImage -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
imageScrollRect :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
imageCopyRect :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
freeColorRange :: IO () #
addColorToColorRange :: Int -> IO () #
imageFillColorRangeRectangle :: (Integral a1, Integral a2, Integral a3, Integral a4, Real a5) => a1 -> a2 -> a3 -> a4 -> a5 -> IO () #
imageFillHsvaColorRangeRectangle :: (Integral a1, Integral a2, Integral a3, Integral a4, Real a5) => a1 -> a2 -> a3 -> a4 -> a5 -> IO () #
imageQueryPixel :: Int -> Int -> IO ImlibColor #
imageAttachDataValue :: String -> Ptr () -> Int -> ImlibDataDestructorFunction -> IO () #
imageGetAttachedData :: String -> IO (Ptr ()) #
imageGetAttachedValue :: String -> IO Int #
imageRemoveAttachedDataValue :: String -> IO () #
imageRemoveAndFreeAttachedDataValue :: String -> IO () #
createRotatedImage :: Double -> IO ImlibImage #
blendImageOntoImageAtAngle :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6, Integral a7, Integral a8) => Ptr ImlibImage -> Bool -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> a8 -> IO () #
blendImageOntoImageSkewed :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6, Integral a7, Integral a8, Integral a9, Integral a10) => Ptr ImlibImage -> Bool -> a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> a7 -> a8 -> a9 -> a10 -> IO () #
polygonNew :: IO () #
polygonFree :: ImlibPolygon -> IO () #
polygonAddPoint :: (Integral a1, Integral a2) => ImlibPolygon -> a1 -> a2 -> IO () #
imageDrawPolygon :: ImlibPolygon -> Bool -> IO () #
imageFillPolygon :: ImlibPolygon -> IO () #
polygonGetBounds :: Num d => ImlibPolygon -> IO (d, d, d, d) #
polygonContainsPoint :: (Integral a1, Integral a2) => ImlibPolygon -> a1 -> a2 -> IO Bool #
imageDrawEllipse :: (Integral a1, Integral a2, Integral a3, Integral a4) => a1 -> a2 -> a3 -> a4 -> IO () #
imageFillEllipse :: (Integral a1, Integral a2, Integral a3, Integral a4) => a1 -> a2 -> a3 -> a4 -> IO () #
imageFilter :: IO () #
createFilter :: Int -> IO ImlibFilter #
freeFilter :: IO () #
filterSet :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
filterSetAlpha :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
filterSetRed :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
filterSetGreen :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
filterSetBlue :: (Integral a1, Integral a2, Integral a3, Integral a4, Integral a5, Integral a6) => a1 -> a2 -> a3 -> a4 -> a5 -> a6 -> IO () #
createImageUsingArray :: Array (Int, Int) ImlibColor -> IO ImlibImage #
withImage :: (Int -> Int -> [ImlibColor] -> [ImlibColor]) -> IO () #
colorFromBits :: Word32 -> ImlibColor #
colorToBits :: ImlibColor -> Word32 #