resolveFigureExportOptions
function
- Kind
- function
- Source
- src/export/figureExport.js:213
Description
Normalize figure export options into concrete dimensions and capture flags.
Signature
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
options | Object | optional | Requested filename, format, preset, width, height, supersampling, overlay inclusion, transparency, and legend scale. | |
context | Object | optional | Renderer, viewport, device pixel ratio, and capability context. |
Returns
Resolved export options including logical dimensions, bitmap dimensions, crop rectangle, filename, and capability fit status.
TypeObjectNotes
Callers should check fitsCapability before allocating render
targets for the result.