Field Notes
    Preparing search index...

    Interface HtmlPaintContext

    interface HtmlPaintContext {
        ctx: CanvasRenderingContext2D;
        element: Readonly<HtmlElement>;
        size: Readonly<Size>;
        zoom: number;
    }
    Index
    ctx: CanvasRenderingContext2D

    Translated to the element origin, rotated about its centre, clipped, save()d. Layer opacity is NOT applied here — each surface owns that boundary.

    element: Readonly<HtmlElement>
    size: Readonly<Size>
    zoom: number

    CSS pixels per world unit for THIS surface (screen | minimap | export).