Skip to main content

Module traits

Module traits 

Source
Expand description

The contracts that bind every backend together

Five traits, infinite possibilities. Each trait defines a role in the pipeline, allowing you to swap implementations without touching a single line of user code.

§The Players

  • Stage - The foundation every pipeline component builds upon
  • FontRef - Your window into font data and metrics
  • Shaper - Where characters become glyphs
  • Renderer - Where glyphs become images
  • Exporter - Where images become files

Traits§

Exporter
The final step: pixels become files
FontRef
Your key to unlocking font secrets
Renderer
Where glyphs become visible
Shaper
Where characters learn their positions
Stage
Every pipeline dancer learns these same steps