G-code Preview — API Reference
    Preparing search index...
    PixelRatioOption: number | "device"

    The interactive canvas's resting pixel ratio (drawing-buffer pixels per CSS pixel). A number in (0, 4], or 'device': the display's devicePixelRatio capped at 2, followed live as it changes (moving the window to another monitor, browser zoom). Unset, the renderer keeps its own ratio (1).