HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

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