Skip to main content

Module render

Module render 

Source

Modules§

backend
corner_layout
Shared geometry for stacking panel-corner “furniture” clear of each other — annotation_scale()/annotation_attribution()’s scale bar and attribution text, bivariate_legend()’s square guide, and an ordinary legend placed with legend_position_inside — so two of them anchored to the same or adjacent corners don’t draw on top of one another (sipemu/ggplot-rs#273).
layout
plotters_backend
renderer
svg_backend
A self-contained SVG DrawBackend — a second backend (no plotters), proving the DrawBackend abstraction: the same PlotRenderer drives it.
text
Text-metric helpers for axis-label fit (B3-1): ggplot-rs owns the outer-label-overflow and check.overlap logic centrally, instead of a downstream consumer post-processing rendered SVG (the old approach had to re-parse <text> elements out of the markup).

Structs§

Rect
A rectangle in pixel coordinates.

Enums§

RenderError
Rendering error type.