Skip to main content

Module render

Module render 

Source
Expand description

Turning Symbols into images.

Renderers share a single Layout computation, so PNG and SVG output are geometrically identical for the same RenderOptions — an SVG preview matches what the PNG will print.

Re-exports§

pub use png::Png;png
pub use svg::Svg;svg

Modules§

pngpng
PNG rendering.
svgsvg
SVG rendering.

Structs§

Color
An 8-bit RGBA colour.
Layout
Pixel geometry of a rendered symbol.
RenderOptions
How a symbol should be drawn.
RenderOptionsBuilder
Builder for RenderOptions.

Enums§

Length
A physical or device length.
QuietZone
How much blank space to leave around the symbol.

Traits§

Renderer
Draws a Symbol into some output representation.

Functions§

hri_supports
Whether every character in text has a real glyph in the embedded HRI font.