Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- loadImage :: String -> IO Image
- loadImageRaw :: String -> Int -> Int -> Int -> Int -> IO Image
- loadImageAnim :: String -> IO (Image, Int)
- loadImageFromMemory :: String -> [Integer] -> IO Image
- loadImageFromTexture :: Texture -> IO Image
- loadImageFromScreen :: IO Image
- isImageReady :: Image -> IO Bool
- unloadImage :: Image -> IO ()
- exportImage :: Image -> String -> IO Bool
- exportImageAsCode :: Image -> String -> IO Bool
- genImageColor :: Int -> Int -> Color -> IO Image
- genImageGradientV :: Int -> Int -> Color -> Color -> IO Image
- genImageGradientH :: Int -> Int -> Color -> Color -> IO Image
- genImageGradientRadial :: Int -> Int -> Float -> Color -> Color -> IO Image
- genImageChecked :: Int -> Int -> Int -> Int -> Color -> Color -> IO Image
- genImageWhiteNoise :: Int -> Int -> Float -> IO Image
- genImagePerlinNoise :: Int -> Int -> Int -> Int -> Float -> IO Image
- genImageCellular :: Int -> Int -> Int -> IO Image
- genImageText :: Int -> Int -> String -> IO Image
- imageCopy :: Image -> IO Image
- imageFromImage :: Image -> Rectangle -> IO Image
- imageText :: String -> Int -> Color -> IO Image
- imageTextEx :: Font -> String -> Float -> Float -> Color -> IO Image
- imageFormat :: Image -> PixelFormat -> IO Image
- imageToPOT :: Image -> Color -> IO Image
- imageCrop :: Image -> Rectangle -> IO Image
- imageAlphaCrop :: Image -> Float -> IO Image
- imageAlphaClear :: Image -> Color -> Float -> IO Image
- imageAlphaMask :: Image -> Image -> IO Image
- imageAlphaPremultiply :: Image -> IO Image
- imageBlurGaussian :: Image -> Int -> IO Image
- imageResize :: Image -> Int -> Int -> IO Image
- imageResizeNN :: Image -> Int -> Int -> IO Image
- imageResizeCanvas :: Image -> Int -> Int -> Int -> Int -> Color -> IO Image
- imageMipmaps :: Image -> IO Image
- imageDither :: Image -> Int -> Int -> Int -> Int -> IO Image
- imageFlipVertical :: Image -> IO Image
- imageFlipHorizontal :: Image -> IO Image
- imageRotateCW :: Image -> IO Image
- imageRotateCCW :: Image -> IO Image
- imageColorTint :: Image -> Color -> IO Image
- imageColorInvert :: Image -> IO Image
- imageColorGrayscale :: Image -> IO Image
- imageColorContrast :: Image -> Float -> IO Image
- imageColorBrightness :: Image -> Int -> IO Image
- imageColorReplace :: Image -> Color -> Color -> IO Image
- loadImageColors :: Image -> IO [Color]
- loadImagePalette :: Image -> Int -> IO [Color]
- unloadImageColors :: Ptr Color -> IO ()
- unloadImagePalette :: Ptr Color -> IO ()
- getImageAlphaBorder :: Image -> Float -> IO Rectangle
- getImageColor :: Image -> Int -> Int -> IO Color
- imageClearBackground :: Image -> Color -> IO Image
- imageDrawPixel :: Image -> Int -> Int -> Color -> IO Image
- imageDrawPixelV :: Image -> Vector2 -> Color -> IO Image
- imageDrawLine :: Image -> Int -> Int -> Int -> Int -> Color -> IO Image
- imageDrawLineV :: Image -> Vector2 -> Vector2 -> Color -> IO Image
- imageDrawCircle :: Image -> Int -> Int -> Int -> Color -> IO Image
- imageDrawCircleV :: Image -> Vector2 -> Int -> Color -> IO Image
- imageDrawCircleLines :: Image -> Int -> Int -> Int -> Color -> IO Image
- imageDrawCircleLinesV :: Image -> Vector2 -> Int -> Color -> IO Image
- imageDrawRectangle :: Image -> Int -> Int -> Int -> Int -> Color -> IO Image
- imageDrawRectangleV :: Image -> Vector2 -> Vector2 -> Color -> IO Image
- imageDrawRectangleRec :: Image -> Rectangle -> Color -> IO Image
- imageDrawRectangleLines :: Image -> Rectangle -> Int -> Color -> IO Image
- imageDraw :: Image -> Image -> Rectangle -> Rectangle -> Color -> IO Image
- imageDrawText :: Image -> String -> Int -> Int -> Int -> Color -> IO Image
- imageDrawTextEx :: Image -> Font -> String -> Vector2 -> Float -> Float -> Color -> IO Image
- loadTexture :: String -> IO Texture
- loadTextureFromImage :: Image -> IO Texture
- loadTextureCubemap :: Image -> CubemapLayout -> IO Texture
- loadRenderTexture :: Int -> Int -> IO RenderTexture
- isTextureReady :: Texture -> IO Bool
- unloadTexture :: Texture -> IO ()
- isRenderTextureReady :: RenderTexture -> IO Bool
- unloadRenderTexture :: RenderTexture -> IO ()
- updateTexture :: Texture -> Ptr () -> IO Texture
- updateTextureRec :: Texture -> Rectangle -> Ptr () -> IO Texture
- genTextureMipmaps :: Texture -> IO Texture
- setTextureFilter :: Texture -> TextureFilter -> IO Texture
- setTextureWrap :: Texture -> TextureWrap -> IO Texture
- drawTexture :: Texture -> Int -> Int -> Color -> IO ()
- drawTextureV :: Texture -> Vector2 -> Color -> IO ()
- drawTextureEx :: Texture -> Vector2 -> Float -> Float -> Color -> IO ()
- drawTextureRec :: Texture -> Rectangle -> Vector2 -> Color -> IO ()
- drawTexturePro :: Texture -> Rectangle -> Rectangle -> Vector2 -> Float -> Color -> IO ()
- drawTextureNPatch :: Texture -> NPatchInfo -> Rectangle -> Vector2 -> Float -> Color -> IO ()
- fade :: Color -> Float -> Color
- colorToInt :: Color -> Int
- colorNormalize :: Color -> Vector4
- colorFromNormalized :: Vector4 -> Color
- colorToHSV :: Color -> Vector3
- colorFromHSV :: Float -> Float -> Float -> Color
- colorTint :: Color -> Color -> Color
- colorBrightness :: Color -> Float -> Color
- colorContrast :: Color -> Float -> Color
- colorAlpha :: Color -> Float -> Color
- colorAlphaBlend :: Color -> Color -> Color -> Color
- getColor :: Integer -> Color
- getPixelColor :: Ptr () -> PixelFormat -> IO Color
- setPixelColor :: Ptr () -> Color -> PixelFormat -> IO ()
Documentation
loadImageAnim :: String -> IO (Image, Int) Source #
Returns the final image and the framees in a tuple, e.g. (img, 18)
unloadImage :: Image -> IO () Source #
imageFormat :: Image -> PixelFormat -> IO Image Source #
imageDrawTextEx :: Image -> Font -> String -> Vector2 -> Float -> Float -> Color -> IO Image Source #
loadTextureCubemap :: Image -> CubemapLayout -> IO Texture Source #
loadRenderTexture :: Int -> Int -> IO RenderTexture Source #
unloadTexture :: Texture -> IO () Source #
unloadRenderTexture :: RenderTexture -> IO () Source #
setTextureFilter :: Texture -> TextureFilter -> IO Texture Source #
setTextureWrap :: Texture -> TextureWrap -> IO Texture Source #
drawTextureNPatch :: Texture -> NPatchInfo -> Rectangle -> Vector2 -> Float -> Color -> IO () Source #
colorToInt :: Color -> Int Source #
colorNormalize :: Color -> Vector4 Source #
colorFromNormalized :: Vector4 -> Color Source #
colorToHSV :: Color -> Vector3 Source #
getPixelColor :: Ptr () -> PixelFormat -> IO Color Source #
setPixelColor :: Ptr () -> Color -> PixelFormat -> IO () Source #