skia2/modules/canvaskit/debug.js
Nathaniel Nifong 77798b4585 Expose 4x4 matrices on canvas in a way similar to SimpleMatrix, add example.
Bug: skia:9866
Change-Id: I718455743e482e4f60a462027b629dc19b1dbad3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/270201
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-02-22 00:12:13 +00:00

4 lines
82 B
JavaScript

function SkDebug(msg) {
console.warn(msg);
}
/** @const */ var skIsDebug = true;