English 中文(简体)
有效期和比额表
原标题:Resize and scale HTML5 Canvas and contents

我正在处理一项申请,将一个绘画界面(如油漆或光印机)作为超文本5管束。

我想能够动态地将信管元素及其图象数据转成模拟动物循环功能。 我的想法有某种观点,其中含有入侵因素。 然后,我可以将“信道”及其内涵(其大小不变)。

How would I best implement this functionality?

问题回答

你们通过引入另一个信道,从绘画表面上收集显示物,能够非常容易地这样做。 采用隐蔽的信库

var canvas = document.createElement( canvas );

然后把整个景点引向这场大战。 然后将该信道的内容引向另一个信道,用户使用<条码>drawImage方法(也可接收信道而不是图像)。 如果你想从中抽出现场,那么,如果把隐蔽的透镜(sysxswsh参数贴在drawImage上,那么你就可以做到这一点。 这将使你产生分裂效应。

然而,如果你完全重划了您的“可能”上的每一框架,那么你也可以简单地看>>>>>>> 比例尺方法<>?





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签