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
- Packagegranite-0.7.4.0
- Exports11
- LanguageGHC2021
- LicenceMIT
- SourceScene.hs
Axis-aligned rectangle by top-left + size.
Constructors
ScenesceneWidth :: !DoublesceneHeight :: !DoublesceneMarks :: ![Mark]
Nothing on fill or stroke means "don't paint that side".
Constructors
Constructors
TextStyletextFill :: !ColortextSize :: !DoubletextAnchor :: !TextAnchortextRotate :: !DoubleRotation in degrees about the anchor point; 0 = upright.
textTitle :: !Maybe TextA
<title>tooltip (the untruncated label); Nothing = none.
Instances2Eq, Show
Eq TextAnchorDefined in granite-0.7.4.0 · Granite.Render.SceneShow TextAnchorDefined in granite-0.7.4.0 · Granite.Render.Scene