SFML-2.3.2.2: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.Graphics.SFViewable

Documentation

class SFViewable a where

Methods

setView :: a -> View -> IO ()

Change the target's current active view.

getView :: a -> IO View

Get the target's current active view.

getDefaultView :: a -> IO View

Get the target's default view.

getViewport :: a -> View -> IO IntRect

Get the viewport of a view applied to this target, expressed in pixels in the current target.