MCPcopy
hub / github.com/1j01/jspaint / PixelCanvas

Interface PixelCanvas

src/globals.d.ts:838–840  ·  view source on GitHub ↗

* A canvas with a 2D context that has some extra methods. Returned by `make_canvas`.

Source from the content-addressed store, hash-verified

836 * A canvas with a 2D context that has some extra methods. Returned by `make_canvas`.
837 */
838interface PixelCanvas extends HTMLCanvasElement {
839 ctx: PixelContext;
840}
841interface PixelContext extends CanvasRenderingContext2D {
842 disable_image_smoothing(): void;
843 enable_image_smoothing(): void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected