摘要:
function drawArrow(x0,y0,x1,y1){var d=Math.sqrt((y1-y0)*(y1-y0)+(x1-x0)*(x1-x0));var Xa = x1 + 10 * ((x0 - x1) + (y0 - y1) / 2) / d;var Ya = y1 + 10 * ((y0 - y1) - (x0 - x1) / 2) / d; var Xb = x1 + 10... 阅读全文
posted @ 2007-12-25 18:33 阿木申 阅读(1318) 评论(1) 推荐(0) 编辑