Skip to content
ChartForgeX

API Reference

Interface

IMeasuredStaticVisualSource

Namespace ChartForgeX.Rendering
Assembly ChartForgeX
Modifiers abstract

A static producer that can describe its native raster allocation before rendering pixels.

Remarks

This optional capability preserves producer ownership without inferring dimensions from SVG or an artifact's authored viewport. Measurement must use the same captured state and output scale as IStaticVisualSource.RenderRgba, return positive whole pixel dimensions, and avoid allocating a raster canvas.

Methods

public abstract VisualSize MeasureRasterSize() #
Returns: VisualSize

Measures the exact destination pixel dimensions of the next native raster export.