OWNED PE32 → LLVM → COMPILED WASM → GDI / GDI+ → CANVAS 2D
Windows drawing calls. Browser pixels.
Every shape and the text below are requested by translated x86 code during WM_PAINT. Click the canvas: the guest changes its brush, invalidates the window and repaints.
■ GDI pen + brush■ Saved/clipped DC■ GDI+ alpha + translation■ Memory bitmap → SRCCOPY
Compiling and starting guest…
Guest GetPixel trace
Bounded graphics compatibility subset. Text uses a declared Canvas monospace fallback, not native Windows font metrics. Unsupported raster operations, pen modes and transforms fail explicitly.