|
951 | 951 | expect(imageData[1]).to.equal(0) |
952 | 952 | expect(imageData[2]).to.equal(0) |
953 | 953 | expect(imageData[3]).to.equal(255) |
954 | | - // 0:1 opaque white |
| 954 | + // 1:0 opaque white |
955 | 955 | expect(imageData[0 + 4]).to.equal(255) |
956 | 956 | expect(imageData[1 + 4]).to.equal(255) |
957 | 957 | expect(imageData[2 + 4]).to.equal(255) |
|
990 | 990 | expect(imageData[1]).to.equal(255) |
991 | 991 | expect(imageData[2]).to.equal(255) |
992 | 992 | expect(imageData[3]).to.equal(255) |
993 | | - // 0:1 opaque black |
| 993 | + // 1:0 opaque black |
994 | 994 | expect(imageData[0 + 4]).to.equal(0) |
995 | 995 | expect(imageData[1 + 4]).to.equal(0) |
996 | 996 | expect(imageData[2 + 4]).to.equal(0) |
|
1025 | 1025 | expect(imageData[1]).to.equal(255) |
1026 | 1026 | expect(imageData[2]).to.equal(255) |
1027 | 1027 | expect(imageData[3]).to.equal(255) |
1028 | | - // 0:1 opaque black |
| 1028 | + // 1:0 opaque black |
1029 | 1029 | expect(imageData[0 + 4]).to.equal(0) |
1030 | 1030 | expect(imageData[1 + 4]).to.equal(0) |
1031 | 1031 | expect(imageData[2 + 4]).to.equal(0) |
|
1064 | 1064 | expect(imageData[1]).to.equal(0) |
1065 | 1065 | expect(imageData[2]).to.equal(0) |
1066 | 1066 | expect(imageData[3]).to.equal(255) |
1067 | | - // 0:1 opaque white |
| 1067 | + // 1:0 opaque white |
1068 | 1068 | expect(imageData[0 + 4]).to.equal(255) |
1069 | 1069 | expect(imageData[1 + 4]).to.equal(255) |
1070 | 1070 | expect(imageData[2 + 4]).to.equal(255) |
|
1254 | 1254 | expect(imageData[1]).to.equal(0) |
1255 | 1255 | expect(imageData[2]).to.equal(0) |
1256 | 1256 | expect(imageData[3]).to.equal(255) |
1257 | | - // 0:1 opaque white |
| 1257 | + // 1:0 opaque white |
1258 | 1258 | expect(imageData[0 + 4]).to.equal(255) |
1259 | 1259 | expect(imageData[1 + 4]).to.equal(255) |
1260 | 1260 | expect(imageData[2 + 4]).to.equal(255) |
1261 | 1261 | expect(imageData[3 + 4]).to.equal(255) |
1262 | | - // 1:0 opaque white |
| 1262 | + // 2:0 opaque white |
1263 | 1263 | expect(imageData[0 + 8]).to.equal(255) |
1264 | 1264 | expect(imageData[1 + 8]).to.equal(255) |
1265 | 1265 | expect(imageData[2 + 8]).to.equal(255) |
1266 | 1266 | expect(imageData[3 + 8]).to.equal(255) |
1267 | | - // 1:1 opaque black |
| 1267 | + // 0:1 opaque black |
1268 | 1268 | expect(imageData[0 + 12]).to.equal(0) |
1269 | 1269 | expect(imageData[1 + 12]).to.equal(0) |
1270 | 1270 | expect(imageData[2 + 12]).to.equal(0) |
1271 | 1271 | expect(imageData[3 + 12]).to.equal(255) |
1272 | | - // 2:0 opaque black |
| 1272 | + // 1:1 opaque black |
1273 | 1273 | expect(imageData[0 + 16]).to.equal(0) |
1274 | 1274 | expect(imageData[1 + 16]).to.equal(0) |
1275 | 1275 | expect(imageData[2 + 16]).to.equal(0) |
|
1311 | 1311 | expect(imageData[1]).to.equal(255) |
1312 | 1312 | expect(imageData[2]).to.equal(255) |
1313 | 1313 | expect(imageData[3]).to.equal(255) |
1314 | | - // 0:1 opaque white |
| 1314 | + // 1:0 opaque white |
1315 | 1315 | expect(imageData[0 + 4]).to.equal(255) |
1316 | 1316 | expect(imageData[1 + 4]).to.equal(255) |
1317 | 1317 | expect(imageData[2 + 4]).to.equal(255) |
1318 | 1318 | expect(imageData[3 + 4]).to.equal(255) |
1319 | | - // 1:0 opaque black |
| 1319 | + // 2:0 opaque black |
1320 | 1320 | expect(imageData[0 + 8]).to.equal(0) |
1321 | 1321 | expect(imageData[1 + 8]).to.equal(0) |
1322 | 1322 | expect(imageData[2 + 8]).to.equal(0) |
1323 | 1323 | expect(imageData[3 + 8]).to.equal(255) |
1324 | | - // 1:1 opaque black |
| 1324 | + // 0:1 opaque black |
1325 | 1325 | expect(imageData[0 + 12]).to.equal(0) |
1326 | 1326 | expect(imageData[1 + 12]).to.equal(0) |
1327 | 1327 | expect(imageData[2 + 12]).to.equal(0) |
1328 | 1328 | expect(imageData[3 + 12]).to.equal(255) |
1329 | | - // 2:0 opaque black |
| 1329 | + // 1:1 opaque black |
1330 | 1330 | expect(imageData[0 + 16]).to.equal(0) |
1331 | 1331 | expect(imageData[1 + 16]).to.equal(0) |
1332 | 1332 | expect(imageData[2 + 16]).to.equal(0) |
|
1364 | 1364 | expect(imageData[1]).to.equal(0) |
1365 | 1365 | expect(imageData[2]).to.equal(0) |
1366 | 1366 | expect(imageData[3]).to.equal(255) |
1367 | | - // 0:1 opaque black |
| 1367 | + // 1:0 opaque black |
1368 | 1368 | expect(imageData[0 + 4]).to.equal(0) |
1369 | 1369 | expect(imageData[1 + 4]).to.equal(0) |
1370 | 1370 | expect(imageData[2 + 4]).to.equal(0) |
1371 | 1371 | expect(imageData[3 + 4]).to.equal(255) |
1372 | | - // 1:0 opaque black |
| 1372 | + // 2:0 opaque black |
1373 | 1373 | expect(imageData[0 + 8]).to.equal(0) |
1374 | 1374 | expect(imageData[1 + 8]).to.equal(0) |
1375 | 1375 | expect(imageData[2 + 8]).to.equal(0) |
1376 | 1376 | expect(imageData[3 + 8]).to.equal(255) |
1377 | | - // 1:1 opaque white |
| 1377 | + // 0:1 opaque white |
1378 | 1378 | expect(imageData[0 + 12]).to.equal(255) |
1379 | 1379 | expect(imageData[1 + 12]).to.equal(255) |
1380 | 1380 | expect(imageData[2 + 12]).to.equal(255) |
1381 | 1381 | expect(imageData[3 + 12]).to.equal(255) |
1382 | | - // 2:0 opaque white |
| 1382 | + // 1:1 opaque white |
1383 | 1383 | expect(imageData[0 + 16]).to.equal(255) |
1384 | 1384 | expect(imageData[1 + 16]).to.equal(255) |
1385 | 1385 | expect(imageData[2 + 16]).to.equal(255) |
|
1421 | 1421 | expect(imageData[1]).to.equal(0) |
1422 | 1422 | expect(imageData[2]).to.equal(0) |
1423 | 1423 | expect(imageData[3]).to.equal(255) |
1424 | | - // 0:1 opaque black |
| 1424 | + // 1:0 opaque black |
1425 | 1425 | expect(imageData[0 + 4]).to.equal(0) |
1426 | 1426 | expect(imageData[1 + 4]).to.equal(0) |
1427 | 1427 | expect(imageData[2 + 4]).to.equal(0) |
1428 | 1428 | expect(imageData[3 + 4]).to.equal(255) |
1429 | | - // 1:0 opaque black |
| 1429 | + // 2:0 opaque black |
1430 | 1430 | expect(imageData[0 + 8]).to.equal(0) |
1431 | 1431 | expect(imageData[1 + 8]).to.equal(0) |
1432 | 1432 | expect(imageData[2 + 8]).to.equal(0) |
1433 | 1433 | expect(imageData[3 + 8]).to.equal(255) |
1434 | | - // 1:1 opaque black |
| 1434 | + // 0:1 opaque black |
1435 | 1435 | expect(imageData[0 + 12]).to.equal(0) |
1436 | 1436 | expect(imageData[1 + 12]).to.equal(0) |
1437 | 1437 | expect(imageData[2 + 12]).to.equal(0) |
1438 | 1438 | expect(imageData[3 + 12]).to.equal(255) |
1439 | | - // 2:0 opaque white |
| 1439 | + // 1:1 opaque white |
1440 | 1440 | expect(imageData[0 + 16]).to.equal(255) |
1441 | 1441 | expect(imageData[1 + 16]).to.equal(255) |
1442 | 1442 | expect(imageData[2 + 16]).to.equal(255) |
|
1479 | 1479 | expect(imageData[1]).to.equal(0) |
1480 | 1480 | expect(imageData[2]).to.equal(0) |
1481 | 1481 | expect(imageData[3]).to.equal(255) |
1482 | | - // 0:1 opaque black |
| 1482 | + // 1:0 opaque black |
1483 | 1483 | expect(imageData[0 + 4]).to.equal(0) |
1484 | 1484 | expect(imageData[1 + 4]).to.equal(0) |
1485 | 1485 | expect(imageData[2 + 4]).to.equal(0) |
1486 | 1486 | expect(imageData[3 + 4]).to.equal(255) |
1487 | | - // 1:0 opaque white |
| 1487 | + // 0:1 opaque white |
1488 | 1488 | expect(imageData[0 + 8]).to.equal(255) |
1489 | 1489 | expect(imageData[1 + 8]).to.equal(255) |
1490 | 1490 | expect(imageData[2 + 8]).to.equal(255) |
|
1494 | 1494 | expect(imageData[1 + 12]).to.equal(0) |
1495 | 1495 | expect(imageData[2 + 12]).to.equal(0) |
1496 | 1496 | expect(imageData[3 + 12]).to.equal(255) |
1497 | | - // 2:0 opaque white |
| 1497 | + // 0:2 opaque white |
1498 | 1498 | expect(imageData[0 + 16]).to.equal(255) |
1499 | 1499 | expect(imageData[1 + 16]).to.equal(255) |
1500 | 1500 | expect(imageData[2 + 16]).to.equal(255) |
1501 | 1501 | expect(imageData[3 + 16]).to.equal(255) |
1502 | | - // 2:1 opaque black |
| 1502 | + // 1:2 opaque black |
1503 | 1503 | expect(imageData[0 + 20]).to.equal(0) |
1504 | 1504 | expect(imageData[1 + 20]).to.equal(0) |
1505 | 1505 | expect(imageData[2 + 20]).to.equal(0) |
|
1533 | 1533 | expect(imageData[1]).to.equal(0) |
1534 | 1534 | expect(imageData[2]).to.equal(0) |
1535 | 1535 | expect(imageData[3]).to.equal(255) |
1536 | | - // 0:1 opaque black |
| 1536 | + // 1:0 opaque black |
1537 | 1537 | expect(imageData[0 + 4]).to.equal(0) |
1538 | 1538 | expect(imageData[1 + 4]).to.equal(0) |
1539 | 1539 | expect(imageData[2 + 4]).to.equal(0) |
1540 | 1540 | expect(imageData[3 + 4]).to.equal(255) |
1541 | | - // 1:0 opaque black |
| 1541 | + // 0:1 opaque black |
1542 | 1542 | expect(imageData[0 + 8]).to.equal(0) |
1543 | 1543 | expect(imageData[1 + 8]).to.equal(0) |
1544 | 1544 | expect(imageData[2 + 8]).to.equal(0) |
|
1548 | 1548 | expect(imageData[1 + 12]).to.equal(255) |
1549 | 1549 | expect(imageData[2 + 12]).to.equal(255) |
1550 | 1550 | expect(imageData[3 + 12]).to.equal(255) |
1551 | | - // 2:0 opaque black |
| 1551 | + // 0:2 opaque black |
1552 | 1552 | expect(imageData[0 + 16]).to.equal(0) |
1553 | 1553 | expect(imageData[1 + 16]).to.equal(0) |
1554 | 1554 | expect(imageData[2 + 16]).to.equal(0) |
1555 | 1555 | expect(imageData[3 + 16]).to.equal(255) |
1556 | | - // 2:1 opaque white |
| 1556 | + // 1:2 opaque white |
1557 | 1557 | expect(imageData[0 + 20]).to.equal(255) |
1558 | 1558 | expect(imageData[1 + 20]).to.equal(255) |
1559 | 1559 | expect(imageData[2 + 20]).to.equal(255) |
|
1591 | 1591 | expect(imageData[1]).to.equal(0) |
1592 | 1592 | expect(imageData[2]).to.equal(0) |
1593 | 1593 | expect(imageData[3]).to.equal(255) |
1594 | | - // 0:1 opaque white |
| 1594 | + // 1:0 opaque white |
1595 | 1595 | expect(imageData[0 + 4]).to.equal(255) |
1596 | 1596 | expect(imageData[1 + 4]).to.equal(255) |
1597 | 1597 | expect(imageData[2 + 4]).to.equal(255) |
1598 | 1598 | expect(imageData[3 + 4]).to.equal(255) |
1599 | | - // 1:0 opaque black |
| 1599 | + // 0:1 opaque black |
1600 | 1600 | expect(imageData[0 + 8]).to.equal(0) |
1601 | 1601 | expect(imageData[1 + 8]).to.equal(0) |
1602 | 1602 | expect(imageData[2 + 8]).to.equal(0) |
|
1606 | 1606 | expect(imageData[1 + 12]).to.equal(255) |
1607 | 1607 | expect(imageData[2 + 12]).to.equal(255) |
1608 | 1608 | expect(imageData[3 + 12]).to.equal(255) |
1609 | | - // 2:0 opaque black |
| 1609 | + // 0:2 opaque black |
1610 | 1610 | expect(imageData[0 + 16]).to.equal(0) |
1611 | 1611 | expect(imageData[1 + 16]).to.equal(0) |
1612 | 1612 | expect(imageData[2 + 16]).to.equal(0) |
1613 | 1613 | expect(imageData[3 + 16]).to.equal(255) |
1614 | | - // 2:1 opaque black |
| 1614 | + // 1:2 opaque black |
1615 | 1615 | expect(imageData[0 + 20]).to.equal(0) |
1616 | 1616 | expect(imageData[1 + 20]).to.equal(0) |
1617 | 1617 | expect(imageData[2 + 20]).to.equal(0) |
|
1645 | 1645 | expect(imageData[1]).to.equal(255) |
1646 | 1646 | expect(imageData[2]).to.equal(255) |
1647 | 1647 | expect(imageData[3]).to.equal(255) |
1648 | | - // 0:1 opaque black |
| 1648 | + // 1:0 opaque black |
1649 | 1649 | expect(imageData[0 + 4]).to.equal(0) |
1650 | 1650 | expect(imageData[1 + 4]).to.equal(0) |
1651 | 1651 | expect(imageData[2 + 4]).to.equal(0) |
1652 | 1652 | expect(imageData[3 + 4]).to.equal(255) |
1653 | | - // 1:0 opaque white |
| 1653 | + // 0:1 opaque white |
1654 | 1654 | expect(imageData[0 + 8]).to.equal(255) |
1655 | 1655 | expect(imageData[1 + 8]).to.equal(255) |
1656 | 1656 | expect(imageData[2 + 8]).to.equal(255) |
|
1660 | 1660 | expect(imageData[1 + 12]).to.equal(0) |
1661 | 1661 | expect(imageData[2 + 12]).to.equal(0) |
1662 | 1662 | expect(imageData[3 + 12]).to.equal(255) |
1663 | | - // 2:0 opaque black |
| 1663 | + // 0:2 opaque black |
1664 | 1664 | expect(imageData[0 + 16]).to.equal(0) |
1665 | 1665 | expect(imageData[1 + 16]).to.equal(0) |
1666 | 1666 | expect(imageData[2 + 16]).to.equal(0) |
1667 | 1667 | expect(imageData[3 + 16]).to.equal(255) |
1668 | | - // 2:1 opaque black |
| 1668 | + // 1:2 opaque black |
1669 | 1669 | expect(imageData[0 + 20]).to.equal(0) |
1670 | 1670 | expect(imageData[1 + 20]).to.equal(0) |
1671 | 1671 | expect(imageData[2 + 20]).to.equal(0) |
|
1699 | 1699 | expect(imageData[1]).to.equal(0) |
1700 | 1700 | expect(imageData[2]).to.equal(0) |
1701 | 1701 | expect(imageData[3]).to.equal(255) |
1702 | | - // 0:1 opaque black |
| 1702 | + // 1:0 opaque black |
1703 | 1703 | expect(imageData[0 + 4]).to.equal(0) |
1704 | 1704 | expect(imageData[1 + 4]).to.equal(0) |
1705 | 1705 | expect(imageData[2 + 4]).to.equal(0) |
1706 | 1706 | expect(imageData[3 + 4]).to.equal(255) |
1707 | | - // 1:0 opaque black |
| 1707 | + // 0:1 opaque black |
1708 | 1708 | expect(imageData[0 + 8]).to.equal(0) |
1709 | 1709 | expect(imageData[1 + 8]).to.equal(0) |
1710 | 1710 | expect(imageData[2 + 8]).to.equal(0) |
|
1714 | 1714 | expect(imageData[1 + 12]).to.equal(255) |
1715 | 1715 | expect(imageData[2 + 12]).to.equal(255) |
1716 | 1716 | expect(imageData[3 + 12]).to.equal(255) |
1717 | | - // 2:0 opaque black |
| 1717 | + // 0:2 opaque black |
1718 | 1718 | expect(imageData[0 + 16]).to.equal(0) |
1719 | 1719 | expect(imageData[1 + 16]).to.equal(0) |
1720 | 1720 | expect(imageData[2 + 16]).to.equal(0) |
1721 | 1721 | expect(imageData[3 + 16]).to.equal(255) |
1722 | | - // 2:1 opaque white |
| 1722 | + // 1:2 opaque white |
1723 | 1723 | expect(imageData[0 + 20]).to.equal(255) |
1724 | 1724 | expect(imageData[1 + 20]).to.equal(255) |
1725 | 1725 | expect(imageData[2 + 20]).to.equal(255) |
|
1804 | 1804 | expect(imageData[1]).to.equal(0) |
1805 | 1805 | expect(imageData[2]).to.equal(0) |
1806 | 1806 | expect(imageData[3]).to.equal(255) |
1807 | | - // 0:1 opaque white |
| 1807 | + // 1:0 opaque white |
1808 | 1808 | expect(imageData[0 + 4]).to.equal(255) |
1809 | 1809 | expect(imageData[1 + 4]).to.equal(255) |
1810 | 1810 | expect(imageData[2 + 4]).to.equal(255) |
|
1843 | 1843 | expect(imageData[1]).to.equal(255) |
1844 | 1844 | expect(imageData[2]).to.equal(255) |
1845 | 1845 | expect(imageData[3]).to.equal(255) |
1846 | | - // 0:1 opaque black |
| 1846 | + // 1:0 opaque black |
1847 | 1847 | expect(imageData[0 + 4]).to.equal(0) |
1848 | 1848 | expect(imageData[1 + 4]).to.equal(0) |
1849 | 1849 | expect(imageData[2 + 4]).to.equal(0) |
|
1878 | 1878 | expect(imageData[1]).to.equal(255) |
1879 | 1879 | expect(imageData[2]).to.equal(255) |
1880 | 1880 | expect(imageData[3]).to.equal(255) |
1881 | | - // 0:1 opaque black |
| 1881 | + // 1:0 opaque black |
1882 | 1882 | expect(imageData[0 + 4]).to.equal(0) |
1883 | 1883 | expect(imageData[1 + 4]).to.equal(0) |
1884 | 1884 | expect(imageData[2 + 4]).to.equal(0) |
|
1917 | 1917 | expect(imageData[1]).to.equal(0) |
1918 | 1918 | expect(imageData[2]).to.equal(0) |
1919 | 1919 | expect(imageData[3]).to.equal(255) |
1920 | | - // 0:1 opaque white |
| 1920 | + // 1:0 opaque white |
1921 | 1921 | expect(imageData[0 + 4]).to.equal(255) |
1922 | 1922 | expect(imageData[1 + 4]).to.equal(255) |
1923 | 1923 | expect(imageData[2 + 4]).to.equal(255) |
|
0 commit comments