assertSnapshots(
testCanvas,
refCanvas, true/* equal */, null/*no fuzz*/, "draw of subrect of source with different background", "reference"
);
// Test that multiple drawWindow calls draw at correct positions.
clear("blue");
testCx.translate(9, 3); // 5, 8 is 5, 2 from the corner of the fuchsia square
await snapshotCallback(testWrapCx, 5, 8, 30, 25, "maroon"); // 35, 0 is 15, 10 from the corner of the aqua square
await snapshotCallback(testWrapCx, 35, 0, 50, 40, "transparent");
testCx.translate(15, 0); // 85, 5 is 5, 5 from the corner of the yellow square
await snapshotCallback(testWrapCx, 85, 5, 30, 25, "transparent");
assertSnapshots(
testCanvas,
refCanvas, true/* equal */, null/*no fuzz*/, "multiple drawWindow calls on top of each other", "reference"
);
}
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.