pub fn render<F: Function + RenderHints>(
b: BoundShape<'_, F, f32>,
config: &RenderConfig<'_>,
) -> Option<Image>Expand description
Renders a shape into a 2D image at Z = 0, with the provided configuration
The shape provides the evaluator backend (F) and bound variables; the
configuration supplies resolution, transforms, etc.
Returns Some(Image) of pixel data if rendering succeeds, or
None if rendering was cancelled (using the RenderConfig::cancel.