Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- toPoint :: LBox -> Int -> XY
- toIndex :: LBox -> XY -> Int
- toIndexSafe :: LBox -> XY -> Maybe Int
- type MWidePChar = (Int8, PChar)
- emptyMWidePChar :: MWidePChar
- data PreRender = PreRender (Vector MWidePChar) LBox
- emptyPreRender :: PreRender
- preRender_lookup :: HasCallStack => PreRender -> XY -> MWidePChar
- data OwlItemCache
- owlItemCache_preRender :: OwlItemCache -> Maybe PreRender
- newtype RenderCache = RenderCache {}
- emptyRenderCache :: RenderCache
- renderCache_clearAtKeys :: RenderCache -> [REltId] -> RenderCache
- renderCache_lookup :: RenderCache -> REltId -> Maybe OwlItemCache
- makePreRender :: forall a. HasOwlTree a => a -> SEltDrawer -> PreRender
Documentation
type MWidePChar = (Int8, PChar) Source #
WidePChar represents part of a PChar that
the Int8 parameter is offset from where the PChar originates from, so for example
😱
<- PChar
01 <- Int8 offset parameter
- 1 value for offset means there is no character in the space, the PChar value is ignored in this case
the LBox may exceed the logical bounding box of the object that is being represented if that object contains wide chars
preRender_lookup :: HasCallStack => PreRender -> XY -> MWidePChar Source #
data OwlItemCache Source #
Instances
Show OwlItemCache Source # | |
Defined in Potato.Flow.RenderCache showsPrec :: Int -> OwlItemCache -> ShowS # show :: OwlItemCache -> String # showList :: [OwlItemCache] -> ShowS # |
newtype RenderCache Source #
Instances
Show RenderCache Source # | |
Defined in Potato.Flow.RenderCache showsPrec :: Int -> RenderCache -> ShowS # show :: RenderCache -> String # showList :: [RenderCache] -> ShowS # |
renderCache_clearAtKeys :: RenderCache -> [REltId] -> RenderCache Source #
renderCache_lookup :: RenderCache -> REltId -> Maybe OwlItemCache Source #
makePreRender :: forall a. HasOwlTree a => a -> SEltDrawer -> PreRender Source #