cartoons -> global composite operation mapping

This commit is contained in:
javi 2014-12-17 11:22:19 +01:00
parent c3b159b64d
commit 27bba39f07

View File

@ -19,18 +19,18 @@ var carto = global.carto || require('carto');
].join('\n');
var COMP_OP_TO_CANVAS = {
"src": 'source-over',
"src-over": 'source-over',
"dst-over": 'destination-over',
"src-in": 'source-in',
"dst-in": 'destination-in',
"src-out": 'source-out',
"dst-out": 'destination-out',
"src-atop": null,
"dst-atop": null,
"xor": null,
"darken": 'darken',
"lighten": 'lighten'
"src": 'source-over',
"src-over": 'source-over',
"dst-over": 'destination-over',
"src-in": 'source-in',
"dst-in": 'destination-in',
"src-out": 'source-out',
"dst-out": 'destination-out',
"src-atop": 'source-atop',
"dst-atop": 'destination-atop',
"xor": 'xor',
"darken": 'darken',
"lighten": 'lighten'
}
function compop2canvas(compop) {