Skip to main content

Module graphics

Module graphics 

Source
Expand description

Graphics subsystem — plot data model, View() data model, color system, and rendering backends.

The data structures are always available. The interactive egui backends are gated behind feature = "plot" and feature = "view".

Modules§

color
R color system — 657 named colors, hex parsing, color builtins.
par
Graphical parameter state (par()) — stores R’s graphical parameters per-interpreter, matching R’s par() system.
pdf
PDF output via krilla + krilla-svg.
plot_data
Data structures for accumulated plot items.
raster
SVG-to-raster conversion using resvg + tiny-skia.
svg_device
SVG renderer — converts a PlotState into an SVG string.
view
View() data frame viewer using egui_table.

Structs§

FileDevice
A file-based graphics device (SVG, PNG, PDF, JPEG, BMP).

Enums§

FileFormat
Supported file device formats.