首页 | 本学科首页   官方微博 | 高级检索  
     

以写字本为例辨析Canvas绘图机制的优劣
引用本文:李岸芩.以写字本为例辨析Canvas绘图机制的优劣[J].计算机时代,2014(8):17-18.
作者姓名:李岸芩
作者单位:广州大学华软软件学院网络技术系,广东广州510990
摘    要:通过比较SVG和Canvas两种绘图机制,辨析了使用Canvas在网页中绘图方案的优缺点。使用一个在线写字本案例,论述了Canvas捕获用户的鼠标事件根据用户输入来绘图的过程。最后总结了Canvas绘图的特性以及应用前景。

关 键 词:Canvas  绘图  写字本  事件

Discussion about Canvas drawing scheme with example of notebook
Li Anqin.Discussion about Canvas drawing scheme with example of notebook[J].Computer Era,2014(8):17-18.
Authors:Li Anqin
Affiliation:Li Anqin (Network Technology Department of South-China Institute of Software Engineering, Guangzhou, Guangdong 510990, China)
Abstract:By comparing two different drawing mechanisms between the SVG and the Canvas, the merits and drawbacks of Canvas scheme drawing pictures on web page are analyzed. With the example of notebook on Windows, the process of drawing picture through catching the user's input and mouse events is discussed. The features and application prospect of Canvas drawing scheme are summarized.
Keywords:Canvas  drawing  notebook  event
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号