Lines Matching defs:e

278 function mouseLeftClick(e) {

279 if (3 == e.which) mouseRightClick(e);
282 var mx = e.clientX - clrect.left;
283 var my = e.clientY - clrect.top;
358 function mouseRightClick(e) {
359 //drawPos(e.pageX, e.pageY);
360 //cood = { x:e.pageX, y:e.pageY }
376 function pathEditMouseDown(e){
378 var mx = e.clientX - clrect.left;
379 var my = e.clientY - clrect.top;
401 if(selectobj[n].tool === "path" && e.ctrlKey){
496 function selectMouseDown(e){
498 var mx = e.clientX - clrect.left;
499 var my = e.clientY - clrect.top;
546 function mouseDown(e){
548 cur_tool.mouseDown(e);
551 function mouseUp(e){
553 cur_tool.mouseUp(e);
556 function selectMouseMove(e){
558 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left;
559 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top;
633 // We could use e.buttons to check if it's supported by all the browsers,
654 function pathEditMouseMove(e){
656 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left;
657 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top;
702 if(!e.altKey && pointMovingCP === "d" && pointMovingIdx + 1 < pointMoving.points.length){
714 else if(!e.altKey && pointMovingCP === "c" && 0 <= pointMovingIdx - 1){
732 function mouseMove(e){
734 cur_tool.mouseMove(e);
737 function mouseleave(e){
745 function viewModeClick(e){
747 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left;
748 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top;
757 if(dobjs[i].viewModeClick(e))
764 function keyDown(e){
765 e = e || window.event;
767 cur_tool.keyDown(e);
1127 TextShape.prototype.viewModeClick = function(e){
1251 } catch(e){
1252 console.log(e);
1284 } catch(e){
1285 debug(e);
1307 catch(e){
1308 console.log(e);
1346 catch(e){
1347 debug(e);
1375 catch(e){
1376 console.log(e);
1550 } catch(e){
1551 console.log(e);
1878 Tool.prototype.mouseDown = function(e){
1882 Tool.prototype.mouseMove = function(e){
1885 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left;
1886 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top;
1894 Tool.prototype.mouseUp = function(e){
1904 Tool.prototype.keyDown = function(e){
1905 var code = e.keyCode || e.which;
1961 mouseUp: function(e){
1964 Tool.prototype.mouseUp.call(this, e);
1987 mouseUp: function(e){
1990 Tool.prototype.mouseUp.call(this, e);
1992 keyDown: function(e){
1993 var code = e.keyCode || e.which;
2295 lay.textInput.onkeyup = function(e){
2297 if(e.keyCode === 13)
2316 okbutton.onclick = function(e){
2544 mouseDown: function(e){
2547 var mx = e.clientX - clrect.left;
2548 var my = e.clientY - clrect.top;
2556 mouseMove: function(e){
2560 var mx = e.clientX - clrect.left;
2561 var my = e.clientY - clrect.top;
2588 mouseUp: function(e){
2680 catch(e){
2685 catch(e){
2689 catch(e){