Lines Matching refs:context
200 callHooks: function (name, context) { argument
202 e.apply(context);
1407 renderShape: function (context, mapArea, offset) { argument
1414 context.rect(c[0], c[1], c[2] - c[0], c[3] - c[1]);
1418 context.moveTo(c[0], c[1]);
1421 context.lineTo(c[i], c[i + 1]);
1423 context.lineTo(c[0], c[1]);
1427 context.arc(c[0], c[1], c[2], 0, Math.PI * 2, false);
1431 addAltImage: function (context, image, mapArea, options) { argument
1432 context.beginPath();
1434 this.renderShape(context, mapArea);
1435 context.closePath();
1436 context.clip();
1438 context.globalAlpha = options.altImageOpacity || options.fillOpacity;
1440 context.drawImage(
1460 context = me.canvas.getContext('2d');
1535 context.drawImage(maskCanvas, 0, 0);
1537 context.drawImage(shapeCanvas, 0, 0);