Copyright | Copyright (c) 2015 Anton Pirogov |
---|---|
License | MIT |
Maintainer | anton.pirogov@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
- createCairoTexture :: Renderer -> V2 CInt -> IO Texture
- createCairoTexture' :: Renderer -> Window -> IO Texture
- withCairoTexture :: Texture -> Render () -> IO ()
- withCairoTexture' :: Texture -> (Surface -> IO a) -> IO a
Documentation
createCairoTexture :: Renderer -> V2 CInt -> IO Texture Source #
create new texture for Cairo with given size
createCairoTexture' :: Renderer -> Window -> IO Texture Source #
create new texture for Cairo with the size of the given window