Lines Matching refs:hitRect
269 function hitRect(r, x, y){ function in SketchCanvas
286 if(hitRect(buttons[i], mx, my)){
307 if(hitRect(bounds, mx, my)){
396 if(!hitRect(pointHandle(p.x, p.y), mx - offset.x, my - offset.y))
438 if("cx" in p && "cy" in p && hitRect(pointHandle(p.cx, p.cy), mx - offset.x, my - offset.y)){
445 if("dx" in p && "dy" in p && hitRect(pointHandle(p.dx, p.dy), mx - offset.x, my - offset.y)){
470 if(hitRect(bounds, mx, my))
482 if(hitRect(bounds, mx, my)){
518 if(hitRect(getHandleRect(bounds, i), mx, my)){
756 if(hitRect(bounds, m.x, m.y)){
1432 if(hitRect(r, x, y)){
2363 if(dobjs[i] instanceof TextShape && hitRect(objBounds(dobjs[i], true), coord.x, coord.y)){