Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
extractSpatial :: [RenderTransform v r s] -> [Affine v r] Source #
type RenderTransform2 = RenderTransform (V2 Float) Float Raster Source #
rotate :: Float -> RenderTransform2 Source #
alpha :: Float -> RenderTransform2 Source #
multiplyV4 :: V4 Float -> RenderTransform2 Source #
redChannelReplacement :: Float -> Float -> Float -> Float -> RenderTransform2 Source #
data VertexType Source #
data GeometryCompiler vx v r s Source #
GeometryCompiler | |
|
type MakeCompiler z vx v r s = z -> GeometryCompiler vx v r s Source #
data BackendOps tex event Source #
BackendOps | |
|
data BackendCompiler vert spatial rot rast Source #
BackendComp | |
|
data Backend tex event vert spatial rot rast Source #
Backend | |
|
compiler :: Backend tex event vert spatial rot rast -> GeometryCompiler vert spatial rot rast Source #
applyCompilerOption :: Backend tex event vert spatial rot rast -> Renderer spatial rot rast -> RenderingOption -> Renderer spatial rot rast Source #
allocTexture :: Backend tex event vert spatial rot rast -> FilePath -> IO (Maybe (tex, V2 Int)) Source #
clearWindow :: Backend tex event vert spatial rot rast -> IO () Source #
updateWindow :: Backend tex event vert spatial rot rast -> IO () Source #
compilePictureT :: MonadIO m => Backend tex event vert spatial rot rast -> PictureT tex vert m a -> m (a, Renderer spatial rot rast) Source #
compilePicture :: MonadIO m => Backend tex event vert spatial rot rast -> Picture tex vert a -> m (a, Renderer spatial rot rast) Source #
compileGeometry :: GeometryCompiler vx v r s -> [StrokeAttr] -> RawGeometry vx -> IO (Renderer v r s) Source #
compilePictureData :: MonadIO m => Backend tex event vert spatial rot rast -> PictureData tex vert -> m (Renderer spatial rot rast) Source #