Files
lcd-image-converter/resources/scan_scripts/scan_top2bottom_backward.js
2013-10-05 21:23:37 +06:00

11 lines
165 B
JavaScript

/*
* top to bottom
* backward
*/
for (var y = 0; y < image.height; y++) {
for (var x = image.width - 1; x >= 0; x--) {
image.addPoint(x, y);
}
}