Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype RenderCache = RenderCache {}
- data RenderContext = RenderContext {}
- emptyRenderContext :: LBox -> RenderContext
- emptyRenderCache :: RenderCache
- renderCache_clearAtKeys :: RenderCache -> [REltId] -> RenderCache
- renderCache_lookup :: RenderCache -> REltId -> Maybe OwlItemCache
- render :: LBox -> [OwlSubItem] -> RenderContext -> RenderContext
- render_new :: LBox -> [REltId] -> RenderContext -> RenderContext
- data RenderedCanvasRegion = RenderedCanvasRegion {}
- renderedCanvas_box :: RenderedCanvasRegion -> LBox
- renderedCanvasRegion_nonEmptyCount :: RenderedCanvasRegion -> Int
- emptyRenderedCanvasRegion :: LBox -> RenderedCanvasRegion
- printRenderedCanvasRegion :: RenderedCanvasRegion -> IO ()
- potatoRenderWithOwlTree :: OwlTree -> [OwlSubItem] -> RenderedCanvasRegion -> RenderedCanvasRegion
- potatoRenderPFState :: OwlPFState -> RenderedCanvasRegion
- renderedCanvasToText :: RenderedCanvasRegion -> Text
- renderedCanvasRegionToText :: LBox -> RenderedCanvasRegion -> Text
- renderWithBroadPhase :: LBox -> RenderContext -> RenderContext
- moveRenderedCanvasRegion :: LBox -> RenderContext -> RenderContext
- updateCanvas :: SuperOwlChanges -> NeedsUpdateSet -> RenderContext -> RenderContext
- moveRenderedCanvasRegionNoReRender :: LBox -> RenderedCanvasRegion -> RenderedCanvasRegion
Documentation
newtype RenderCache Source #
Instances
Show RenderCache Source # | |
Defined in Potato.Flow.RenderCache showsPrec :: Int -> RenderCache -> ShowS # show :: RenderCache -> String # showList :: [RenderCache] -> ShowS # |
data RenderContext Source #
Instances
renderCache_clearAtKeys :: RenderCache -> [REltId] -> RenderCache Source #
renderCache_lookup :: RenderCache -> REltId -> Maybe OwlItemCache Source #
render :: LBox -> [OwlSubItem] -> RenderContext -> RenderContext Source #
renders just a portion of the RenderedCanvasRegion caller is expected to provide all SElts that intersect the rendered LBox (broadphase is ignored) SElts are rendered in ORDER
render_new :: LBox -> [REltId] -> RenderContext -> RenderContext Source #
renders just a portion of the RenderedCanvasRegion updates cache as appropriate caller is expected to provide all REltIds that intersect the rendered LBox (broadphase is ignored) REltIds are rendered in ORDER
data RenderedCanvasRegion Source #
RenderedCanvasRegion | |
|
Instances
Show RenderedCanvasRegion Source # | |
Defined in Potato.Flow.Render showsPrec :: Int -> RenderedCanvasRegion -> ShowS # show :: RenderedCanvasRegion -> String # showList :: [RenderedCanvasRegion] -> ShowS # | |
Eq RenderedCanvasRegion Source # | |
Defined in Potato.Flow.Render (==) :: RenderedCanvasRegion -> RenderedCanvasRegion -> Bool # (/=) :: RenderedCanvasRegion -> RenderedCanvasRegion -> Bool # |
potatoRenderWithOwlTree :: OwlTree -> [OwlSubItem] -> RenderedCanvasRegion -> RenderedCanvasRegion Source #
brute force renders a RenderedCanvasRegion (ignores broadphase)
renderedCanvasRegionToText :: LBox -> RenderedCanvasRegion -> Text Source #
assumes region LBox is strictly contained in _renderedCanvasRegion_box