SFML-2.3.2.4: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.Graphics.SFViewable

Documentation

class SFViewable a where Source

Methods

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

Change the target's current active view.

getView :: a -> IO View Source

Get the target's current active view.

getDefaultView :: a -> IO View Source

Get the target's default view.

getViewport :: a -> View -> IO IntRect Source

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