英译中,有关计算机的

来源:百度知道 编辑:UC知道 时间:2024/06/18 02:04:28
在现在Web2.0流行的时代,用户已不再满足于上网看看新闻,而是充分的加入到网站的互动中。博客,个人相册的广泛普及,迫切得使得在浏览器上的在线网页绘图系统。但是基于胖客户端的网页绘图系统(如flash,javasx)要求用户已安装各种各样的插件,基于瘦客户端的浏览器画图板寥寥无几,这是因为浏览器内置的Javascript语言不具备直接处理图形图像能力。
本系统即是实现基于瘦客户端的网页画图板。在本系统中,巧妙的采用div标签来模拟单个像素,以其div标签的背景颜色作为像素的颜色,通过动态添加HTML代码在浏览器页面上绘制点,线,椭圆(圆),矩形,添加<img>标签来实现加载图片,有效的解决了Javascript语言不具备处理图形图像能力问题。其次利用Ajax技术,实现客户端与服务器端的无刷新异步通信,将绘图命令打包传输到服务器端。在服务器端利用PHP语言及其图形处理扩展库GD2库创建图片,并根据客户端的命令绘制图形,并反馈信息,使得浏览器上展现的图像跟服务器端的图片内容保持一致。在用户绘图完成后,提供下载服务。
在本文的最后,介绍了本系统的简单应用——绘制流程图。

in the now popular Web 2.0 era, the user is no longer satisfied with the Internet a look at the news, and is sufficient to join the interactive Web site.blogs, personal photo album 's, an urgent need in the browser on the online web mapping system.but based on a rich client Web page drawing systems, such as Flash, javasx) requires the user has installed plug - ins, based on a wide variety of thin - client browser paint unimpressive, this is because the browser built-in JavaScript language does not have the ability to deal directly with graphic images.
This system is based on a thin client home page of the paint.in this system, muttimedia the adoption of a div tag to simulate a single pixel, with its background color of a div tag as a pixel of color, by dynamically add HTML code in your browser page to draw on point, line, oval, rectangle, circle), add<img>Add tags to pictures, effective implementation of the solution of the JavaScript language does not have the abilit