flaw-canvas-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.Graphics.Canvas

Description

 
Synopsis

Documentation

data Canvas d Source #

Canvas contains additional things for 2D rendering.

initCanvas :: Device d => d -> IO (Canvas d, IO ()) Source #

drawBorderedRectangle :: Context c d => Canvas d -> Int4 -> Int4 -> Float4 -> Float4 -> Render c () Source #

Draw bordered rectangle. Coordinates are integer pixels. Y directed down.