Safe Haskell | None |
---|
- Graphics / CircleShape.hs
- Graphics / ConvexShape.hs
- Graphics / Font.hs
- Graphics / Image.hs
- Graphics / RectangleShape.hs
- Graphics / RenderTexture.hs
- Graphics / RenderWindow.hs
- Graphics / Shader.hs
- Graphics / Shape.hs
- Graphics / Sprite.hs
- Graphics / Text.hs
- Graphics / Texture.hs
- Graphics / VertexArray.hs
- Graphics / View.hs
- createCircleShape :: SFML CircleShape
- copy :: SFCopyable a => a -> SFML a
- setRotation :: Transformable a => a -> Float -> SFML ()
- setScale :: Transformable a => a -> Vec2f -> SFML ()
- setOrigin :: Transformable a => a -> Vec2f -> SFML ()
- getRotation :: Transformable a => a -> SFML Float
- getScale :: Transformable a => a -> SFML Vec2f
- getOrigin :: Transformable a => a -> SFML Vec2f
- move :: Transformable a => a -> Vec2f -> SFML ()
- rotate :: Transformable a => a -> Float -> SFML ()
- scale :: Transformable a => a -> Vec2f -> SFML ()
- getTransform :: Transformable a => a -> SFML Transform
- getInverseTransform :: Transformable a => a -> SFML Transform
- setTexture :: SFTexturable a => a -> Texture -> Bool -> SFML ()
- setTextureRect :: SFTexturable a => a -> IntRect -> SFML ()
- getTexture :: SFTexturable a => a -> SFML (Maybe Texture)
- getTextureRect :: SFTexturable a => a -> SFML IntRect
- setFillColor :: SFShape a => a -> Color -> SFML ()
- setOutlineColor :: SFShape a => a -> Color -> SFML ()
- setOutlineThickness :: SFShape a => a -> Float -> SFML ()
- getFillColor :: SFShape a => a -> SFML Color
- getOutlineColor :: SFShape a => a -> SFML Color
- getOutlineThickness :: SFShape a => a -> SFML Float
- getPointCount :: SFShape a => a -> SFML Int
- getPoint :: SFShape a => a -> Int -> SFML Vec2f
- setRadius :: CircleShape -> Float -> SFML ()
- getRadius :: CircleShape -> SFML Float
- setPointCount :: SFShapeResizable a => a -> Int -> SFML ()
- getLocalBounds :: SFBounded a => a -> SFML FloatRect
- getGlobalBounds :: SFBounded a => a -> SFML FloatRect
- createConvexShape :: SFML ConvexShape
- setPoint :: ConvexShape -> Int -> Vec2f -> SFML ()
- fontFromFile :: FilePath -> SFML Font
- fontFromMemory :: Ptr Char -> Int -> SFML Font
- fontFromStream :: InputStream -> SFML Font
- getGlyph :: Font -> Int -> Int -> Bool -> SFML Glyph
- getKerning :: Font -> Int -> Int -> Int -> SFML Int
- getLineSpacing :: Font -> Int -> SFML Int
- getFontTexture :: Font -> Int -> SFML Texture
- createImage :: Int -> Int -> SFML Image
- imageFromColor :: Int -> Int -> Color -> SFML Image
- imageFromPixels :: Int -> Int -> Ptr a -> SFML Image
- imageFromFile :: FilePath -> SFML Image
- imageFromMemory :: Ptr a -> Int -> SFML Image
- imageFromStream :: InputStream -> SFML Image
- destroy :: SFResource a => a -> SFML ()
- saveImage :: Image -> FilePath -> SFML Bool
- imageSize :: Image -> SFML Vec2u
- createMaskFromColor :: Image -> Color -> Int -> SFML ()
- copyImage' :: Image -> Image -> Int -> Int -> IntRect -> Bool -> SFML ()
- setPixel :: Image -> Int -> Int -> Color -> SFML ()
- getPixel :: Image -> Int -> Int -> SFML Color
- getPixels :: Image -> SFML (Ptr a)
- flipHorizontally :: Image -> SFML ()
- flipVertically :: Image -> SFML ()
- createRectangleShape :: SFML RectangleShape
- setSize :: RectangleShape -> Vec2f -> SFML ()
- getSize :: RectangleShape -> SFML Vec2f
- createRenderTexture :: Int -> Int -> Bool -> SFML RenderTexture
- getTextureSize :: RenderTexture -> SFML Vec2u
- setActive :: RenderTexture -> Bool -> SFML Bool
- clear :: RenderTexture -> Color -> SFML ()
- setView :: SFViewable a => a -> View -> SFML ()
- getView :: SFViewable a => a -> SFML View
- getDefaultView :: SFViewable a => a -> SFML View
- getViewport :: SFViewable a => a -> View -> SFML IntRect
- mapPixelToCoords :: SFCoordSpace a => a -> Vec2i -> Maybe View -> SFML Vec2f
- drawSprite :: SFRenderTarget a => a -> Sprite -> Maybe RenderStates -> SFML ()
- drawText :: SFRenderTarget a => a -> Text -> Maybe RenderStates -> SFML ()
- drawShape :: SFRenderTarget a => a -> Shape -> Maybe RenderStates -> SFML ()
- drawCircle :: SFRenderTarget a => a -> CircleShape -> Maybe RenderStates -> SFML ()
- drawConvexShape :: SFRenderTarget a => a -> ConvexShape -> Maybe RenderStates -> SFML ()
- drawRectangle :: SFRenderTarget a => a -> RectangleShape -> Maybe RenderStates -> SFML ()
- drawVertexArray :: SFRenderTarget a => a -> VertexArray -> Maybe RenderStates -> SFML ()
- drawPrimitives :: SFRenderTarget a => a -> [Vertex] -> PrimitiveType -> Maybe RenderStates -> SFML ()
- drawPrimitives' :: SFRenderTarget a => a -> Ptr Vertex -> Int -> PrimitiveType -> Maybe RenderStates -> SFML ()
- pushGLStates :: SFRenderTarget a => a -> SFML ()
- popGLStates :: SFRenderTarget a => a -> SFML ()
- resetGLStates :: SFRenderTarget a => a -> SFML ()
- getRenderTexture :: RenderTexture -> SFML Texture
- setSmooth :: SFSmoothTexture a => a -> Bool -> SFML ()
- isSmooth :: SFSmoothTexture a => a -> SFML Bool
- createRenderWindow :: VideoMode -> String -> [WindowStyle] -> Maybe ContextSettings -> SFML RenderWindow
- renderWindowFromHandle :: WindowHandle -> Maybe ContextSettings -> SFML RenderWindow
- close :: SFWindow a => a -> SFML ()
- isWindowOpen :: SFWindow a => a -> SFML Bool
- getWindowSettings :: SFWindow a => a -> SFML ContextSettings
- pollEvent :: SFWindow a => a -> SFML (Maybe SFEvent)
- waitEvent :: SFWindow a => a -> SFML (Maybe SFEvent)
- getWindowPosition :: SFWindow a => a -> SFML Vec2i
- setWindowPosition :: SFWindow a => a -> Vec2i -> SFML ()
- getWindowSize :: SFWindow a => a -> SFML Vec2u
- setWindowSize :: SFWindow a => a -> Vec2u -> SFML ()
- setWindowTitle :: SFWindow a => a -> String -> SFML ()
- setWindowIcon :: SFWindow a => a -> Int -> Int -> Ptr b -> SFML ()
- setWindowVisible :: SFWindow a => a -> Bool -> SFML ()
- setMouseVisible :: SFWindow a => a -> Bool -> SFML ()
- setVSync :: SFWindow a => a -> Bool -> SFML ()
- setKeyRepeat :: SFWindow a => a -> Bool -> SFML ()
- setWindowActive :: SFWindow a => a -> Bool -> SFML ()
- display :: SFDisplayable a => a -> SFML ()
- setFramerateLimit :: SFWindow a => a -> Int -> SFML ()
- setJoystickThreshold :: SFWindow a => a -> Float -> SFML ()
- getSystemHandle :: SFWindow a => a -> SFML WindowHandle
- clearRenderWindow :: RenderWindow -> Color -> SFML ()
- captureRenderWindow :: RenderWindow -> SFML Image
- getMousePosition :: SFWindow a => Maybe a -> SFML Vec2i
- setMousePosition :: SFWindow a => Vec2i -> Maybe a -> SFML ()
- shaderFromFile :: Maybe FilePath -> Maybe FilePath -> SFML Shader
- shaderFromMemory :: Maybe String -> Maybe String -> SFML Shader
- shaderFromStream :: Maybe InputStream -> Maybe InputStream -> SFML Shader
- setFloatParameter :: Shader -> String -> Float -> SFML ()
- setFloat2Parameter :: Shader -> String -> Float -> Float -> SFML ()
- setFloat3Parameter :: Shader -> String -> Float -> Float -> Float -> SFML ()
- setFloat4Parameter :: Shader -> String -> Float -> Float -> Float -> Float -> SFML ()
- setVector2Parameter :: Shader -> String -> Vec2f -> SFML ()
- setVector3Parameter :: Shader -> String -> Vec3f -> SFML ()
- setColorParameter :: Shader -> String -> Color -> SFML ()
- setTransformParameter :: Shader -> String -> Transform -> SFML ()
- setTextureParameter :: Shader -> String -> Texture -> SFML ()
- setCurrentTextureParameter :: Shader -> String -> SFML ()
- bind :: SFBindable a => a -> SFML ()
- isShaderAvailable :: SFML Bool
- createShape :: Ptr a -> Ptr b -> Ptr c -> SFML Shape
- updateShape :: Shape -> SFML ()
- createSprite :: SFML Sprite
- setColor :: Sprite -> Color -> SFML ()
- setPosition :: Transformable a => a -> Vec2f -> SFML ()
- getColor :: Sprite -> SFML Color
- createText :: SFML Text
- setTextString :: Text -> String -> SFML ()
- setTextStringU :: Text -> String -> SFML ()
- setTextFont :: Text -> Font -> SFML ()
- setTextCharacterSize :: Text -> Int -> SFML ()
- setTextStyle :: Text -> [TextStyle] -> SFML ()
- setTextColor :: Text -> Color -> SFML ()
- getTextString :: Text -> SFML String
- getTextUnicodeString :: Text -> SFML String
- getTextFont :: Text -> SFML (Maybe Font)
- getTextCharacterSize :: Text -> SFML Int
- getTextStyle :: Text -> SFML TextStyle
- getTextColor :: Text -> SFML Color
- findTextCharacterPos :: Text -> Int -> SFML Vec2f
- getTextLocalBounds :: Text -> SFML FloatRect
- getTextGlobalBounds :: Text -> SFML FloatRect
- createTexture :: Int -> Int -> SFML Texture
- textureFromFile :: FilePath -> Maybe IntRect -> SFML Texture
- textureFromMemory :: Ptr a -> Int -> Maybe IntRect -> SFML Texture
- textureFromStream :: InputStream -> Maybe IntRect -> SFML Texture
- textureFromImage :: Image -> Maybe IntRect -> SFML Texture
- textureSize :: Texture -> SFML Vec2u
- copyTextureToImage :: Texture -> SFML Image
- updateTextureFromPixels :: Texture -> Ptr a -> Int -> Int -> Int -> Int -> SFML ()
- updateTextureFromImage :: Texture -> Image -> Int -> Int -> SFML ()
- updateTextureFromWindow :: Texture -> Window -> Int -> Int -> SFML ()
- updateTextureFromRenderWindow :: Texture -> RenderWindow -> Int -> Int -> SFML ()
- setRepeated :: Texture -> Bool -> SFML ()
- isRepeated :: Texture -> SFML Bool
- createVA :: SFML VertexArray
- getVertexCount :: VertexArray -> SFML Int
- getVertex :: VertexArray -> Int -> SFML (Ptr Vertex)
- clearVA :: VertexArray -> SFML ()
- resizeVA :: VertexArray -> Int -> SFML ()
- appendVA :: VertexArray -> Vertex -> SFML ()
- setPrimitiveType :: VertexArray -> PrimitiveType -> SFML ()
- getPrimitiveType :: VertexArray -> SFML PrimitiveType
- getVABounds :: VertexArray -> SFML FloatRect
- createView :: SFML View
- viewFromRect :: FloatRect -> SFML View
- copyView :: View -> SFML View
- setViewCenter :: View -> Vec2f -> SFML ()
- setViewSize :: View -> Vec2f -> SFML ()
- setViewRotation :: View -> Float -> SFML ()
- setViewport :: View -> FloatRect -> SFML ()
- resetView :: View -> FloatRect -> SFML ()
- getViewCenter :: View -> SFML Vec2f
- getViewSize :: View -> SFML Vec2f
- getViewRotation :: View -> SFML Float
- getViewViewport :: View -> SFML FloatRect
- moveView :: View -> Vec2f -> SFML ()
- rotateView :: View -> Float -> SFML ()
- zoomView :: View -> Float -> SFML ()
Graphics / CircleShape.hs
copy :: SFCopyable a => a -> SFML aSource
setRotation :: Transformable a => a -> Float -> SFML ()Source
setScale :: Transformable a => a -> Vec2f -> SFML ()Source
setOrigin :: Transformable a => a -> Vec2f -> SFML ()Source
getRotation :: Transformable a => a -> SFML FloatSource
getScale :: Transformable a => a -> SFML Vec2fSource
getOrigin :: Transformable a => a -> SFML Vec2fSource
move :: Transformable a => a -> Vec2f -> SFML ()Source
rotate :: Transformable a => a -> Float -> SFML ()Source
scale :: Transformable a => a -> Vec2f -> SFML ()Source
getTransform :: Transformable a => a -> SFML TransformSource
getInverseTransform :: Transformable a => a -> SFML TransformSource
setTexture :: SFTexturable a => a -> Texture -> Bool -> SFML ()Source
setTextureRect :: SFTexturable a => a -> IntRect -> SFML ()Source
getTexture :: SFTexturable a => a -> SFML (Maybe Texture)Source
getTextureRect :: SFTexturable a => a -> SFML IntRectSource
setFillColor :: SFShape a => a -> Color -> SFML ()Source
setOutlineColor :: SFShape a => a -> Color -> SFML ()Source
setOutlineThickness :: SFShape a => a -> Float -> SFML ()Source
getFillColor :: SFShape a => a -> SFML ColorSource
getOutlineColor :: SFShape a => a -> SFML ColorSource
getOutlineThickness :: SFShape a => a -> SFML FloatSource
getPointCount :: SFShape a => a -> SFML IntSource
setRadius :: CircleShape -> Float -> SFML ()Source
getRadius :: CircleShape -> SFML FloatSource
setPointCount :: SFShapeResizable a => a -> Int -> SFML ()Source
getLocalBounds :: SFBounded a => a -> SFML FloatRectSource
getGlobalBounds :: SFBounded a => a -> SFML FloatRectSource
Graphics / ConvexShape.hs
Graphics / Font.hs
fontFromFile :: FilePath -> SFML FontSource
Graphics / Image.hs
imageFromFile :: FilePath -> SFML ImageSource
destroy :: SFResource a => a -> SFML ()Source
flipHorizontally :: Image -> SFML ()Source
flipVertically :: Image -> SFML ()Source
Graphics / RectangleShape.hs
setSize :: RectangleShape -> Vec2f -> SFML ()Source
getSize :: RectangleShape -> SFML Vec2fSource
Graphics / RenderTexture.hs
createRenderTexture :: Int -> Int -> Bool -> SFML RenderTextureSource
clear :: RenderTexture -> Color -> SFML ()Source
setView :: SFViewable a => a -> View -> SFML ()Source
getView :: SFViewable a => a -> SFML ViewSource
getDefaultView :: SFViewable a => a -> SFML ViewSource
getViewport :: SFViewable a => a -> View -> SFML IntRectSource
mapPixelToCoords :: SFCoordSpace a => a -> Vec2i -> Maybe View -> SFML Vec2fSource
drawSprite :: SFRenderTarget a => a -> Sprite -> Maybe RenderStates -> SFML ()Source
drawText :: SFRenderTarget a => a -> Text -> Maybe RenderStates -> SFML ()Source
drawShape :: SFRenderTarget a => a -> Shape -> Maybe RenderStates -> SFML ()Source
drawCircle :: SFRenderTarget a => a -> CircleShape -> Maybe RenderStates -> SFML ()Source
drawConvexShape :: SFRenderTarget a => a -> ConvexShape -> Maybe RenderStates -> SFML ()Source
drawRectangle :: SFRenderTarget a => a -> RectangleShape -> Maybe RenderStates -> SFML ()Source
drawVertexArray :: SFRenderTarget a => a -> VertexArray -> Maybe RenderStates -> SFML ()Source
drawPrimitives :: SFRenderTarget a => a -> [Vertex] -> PrimitiveType -> Maybe RenderStates -> SFML ()Source
drawPrimitives' :: SFRenderTarget a => a -> Ptr Vertex -> Int -> PrimitiveType -> Maybe RenderStates -> SFML ()Source
pushGLStates :: SFRenderTarget a => a -> SFML ()Source
popGLStates :: SFRenderTarget a => a -> SFML ()Source
resetGLStates :: SFRenderTarget a => a -> SFML ()Source
setSmooth :: SFSmoothTexture a => a -> Bool -> SFML ()Source
isSmooth :: SFSmoothTexture a => a -> SFML BoolSource
Graphics / RenderWindow.hs
createRenderWindow :: VideoMode -> String -> [WindowStyle] -> Maybe ContextSettings -> SFML RenderWindowSource
isWindowOpen :: SFWindow a => a -> SFML BoolSource
getWindowSettings :: SFWindow a => a -> SFML ContextSettingsSource
getWindowPosition :: SFWindow a => a -> SFML Vec2iSource
setWindowPosition :: SFWindow a => a -> Vec2i -> SFML ()Source
getWindowSize :: SFWindow a => a -> SFML Vec2uSource
setWindowSize :: SFWindow a => a -> Vec2u -> SFML ()Source
setWindowTitle :: SFWindow a => a -> String -> SFML ()Source
setWindowVisible :: SFWindow a => a -> Bool -> SFML ()Source
setMouseVisible :: SFWindow a => a -> Bool -> SFML ()Source
setKeyRepeat :: SFWindow a => a -> Bool -> SFML ()Source
setWindowActive :: SFWindow a => a -> Bool -> SFML ()Source
display :: SFDisplayable a => a -> SFML ()Source
setFramerateLimit :: SFWindow a => a -> Int -> SFML ()Source
setJoystickThreshold :: SFWindow a => a -> Float -> SFML ()Source
getSystemHandle :: SFWindow a => a -> SFML WindowHandleSource
clearRenderWindow :: RenderWindow -> Color -> SFML ()Source
Graphics / Shader.hs
setCurrentTextureParameter :: Shader -> String -> SFML ()Source
bind :: SFBindable a => a -> SFML ()Source
Graphics / Shape.hs
updateShape :: Shape -> SFML ()Source
Graphics / Sprite.hs
setPosition :: Transformable a => a -> Vec2f -> SFML ()Source
Graphics / Text.hs
setTextString :: Text -> String -> SFML ()Source
setTextStringU :: Text -> String -> SFML ()Source
setTextFont :: Text -> Font -> SFML ()Source
setTextCharacterSize :: Text -> Int -> SFML ()Source
setTextStyle :: Text -> [TextStyle] -> SFML ()Source
setTextColor :: Text -> Color -> SFML ()Source
getTextString :: Text -> SFML StringSource
getTextStyle :: Text -> SFML TextStyleSource
getTextColor :: Text -> SFML ColorSource
Graphics / Texture.hs
textureSize :: Texture -> SFML Vec2uSource
updateTextureFromRenderWindow :: Texture -> RenderWindow -> Int -> Int -> SFML ()Source
setRepeated :: Texture -> Bool -> SFML ()Source
isRepeated :: Texture -> SFML BoolSource
Graphics / VertexArray.hs
clearVA :: VertexArray -> SFML ()Source
resizeVA :: VertexArray -> Int -> SFML ()Source
appendVA :: VertexArray -> Vertex -> SFML ()Source
setPrimitiveType :: VertexArray -> PrimitiveType -> SFML ()Source
Graphics / View.hs
viewFromRect :: FloatRect -> SFML ViewSource
setViewCenter :: View -> Vec2f -> SFML ()Source
setViewSize :: View -> Vec2f -> SFML ()Source
setViewRotation :: View -> Float -> SFML ()Source
setViewport :: View -> FloatRect -> SFML ()Source
getViewCenter :: View -> SFML Vec2fSource
getViewSize :: View -> SFML Vec2fSource
getViewRotation :: View -> SFML FloatSource
rotateView :: View -> Float -> SFML ()Source