Skip to main content

Crate typf_render_opixa

Crate typf_render_opixa 

Source
Expand description

Monochrome rasterizer for Typf.

Opixa is the pure-Rust renderer that turns shaped glyph outlines into pixel coverage data. It is focused on predictable outline rasterization rather than color-glyph support. The submodules divide that work into fixed-point math, curve flattening, edge handling, scan conversion, and optional SIMD or parallel acceleration.

Modules§

curves
Taming Bézier curves, one subdivision at a time
edge
The edge detectives: line segments that build glyph foundations
fixed
Precision beyond pixels: the mathematics of sub-pixel perfection
glyph_cache
Glyph bitmap cache for efficient repeated rendering
grayscale
Where beauty meets precision: the art of anti-aliased text
rasterizer
Where fonts meet pixels: the final transformation
scan_converter
The bridge between vectors and pixels: scanline conversion mastery

Structs§

OpixaRenderer
Renderer that rasterizes outline glyphs into bitmaps.

Enums§

DropoutMode
Strategy for preserving very thin strokes.
FillRule
Rule for deciding which parts of a path count as inside.