Module

Nemo.Draw.Interpreter

Package
purescript-nemo
Repository
opyapeus/purescript-nemo

#runDraw Source

runDraw :: forall a. DrawContext -> Draw a -> Effect a

#cls Source

cls :: Color -> RenderOp

Clear screen with given color.

#fillTextWithT Source

#fillTextConsVoid Source

#emo Source

emo :: Emoji -> Size -> X -> Y -> RenderOp

Draw emoji.

#emor Source

emor :: Deg -> Emoji -> Size -> X -> Y -> RenderOp

Draw rotated emoji. CAUTION: It does not display correctly (Deg = 45, 135, 225, 315).

#emo' Source

emo' :: Emoji -> Size -> X -> Y -> RenderOp

Draw mirrored emoji.

#emor' Source

emor' :: Deg -> Emoji -> Size -> X -> Y -> RenderOp

Draw mirrored rotated emoji. CAUTION: It does not display correctly (Deg = 45, 135, 225, 315).

#emap Source

emap :: MapId -> Size -> X -> Y -> RenderOp

Draw emoji map.

#emap' Source

emap' :: MapId -> Size -> X -> Y -> RenderOp

Draw mirrored emoji map.

#emapF Source

emapF :: (Emoji -> Size -> X -> Y -> RenderOp) -> MapId -> Size -> X -> Y -> RenderOp

#toBaseY Source

toBaseY :: Y -> Y

#degToRad Source

#sizeToFont Source