R/MRatCalcpowered by RiX

RiX walkthrough 16 a

Drawing portable graphics

Use the optional draw package to create core graphics scene nodes.

Load the drawing conveniences and build a scene from regular .Graphics nodes:

Runnable RiX

The important boundary is invisible in the result: .draw.Circle simply returns .Graphics.Circle. This makes authored scenes portable to SVG, image, and future document renderers.

Use the lower-level .Graphics.Path, .Graphics.Text, and related core constructors directly when a plugin convenience is not the best fit.

Draft a labeled construction

Reusable styles, a viewport transform, dimensions, and anchors compose without creating a second scene format:

Runnable RiX

Bounds uses renderer-independent drafting estimates for labels. A final renderer still owns exact font metrics.

Adapt geometry and annotate a path

Draw consumes geometry records by schema; it does not import the Geometry plugin or create a second scene representation.

Runnable RiX

An unresolved geometry result stays visible and retains its source evidence:

Runnable RiX