Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请帮忙,
是否有获取图像的解决方案,通过 x,y 点在图像上绘制一些形状,将其显示在 html 页面上并允许用户放大和缩小图像?
演示: http: //phrogz.net/tmp/canvas_zoom_to_cursor.html
阅读并尝试http://my.safaribooksonline.com/book/web-development/html/9781449308032/images-on-the-canvas/zooming_and_panning_an_image#image_pan_and_zoom_application
我想这篇文章会对你有所帮助