HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulegranite-0.7.4.0GHC2021

Granite.Render.Scene

Backend-agnostic IR. Coordinates are in logical pixels; the terminal backend maps them to character cells via pxPerChar / pxPerLine (Braille gives 2×4 sub-cell resolution).

  • 7 types
  • 4 values
datadata Mark
#

Primitive drawable marks. MArc takes (center, radius, a0, a1) in radians CCW from +x. MPolygon is a closed filled polyline. MAxisLine is an axis-aligned 1-px line that the terminal backend writes as box-drawing chars (│ ─ ┼) for crisp axes; everything else is rasterised through Braille.

Instances2Eq, Show
  • Eq MarkDefined in granite-0.7.4.0 · Granite.Render.Scene
  • Show MarkDefined in granite-0.7.4.0 · Granite.Render.Scene