문제

I am using Eclipse RWT to port applications written using Eclipse SWT to the web. But unfortunately there is no equivalent class for transformations under org.eclipse.swt.graphics. You can compare the Eclipse Platform API and the corresponding RAP/RWT API to see what else is missing. Concerning single sourcing the transformation operations are quite important and yet I couldn’t figure out why these are missing. And before opening a feature request ticket it is probably better to ask if someone already has a solution to this problem.

도움이 되었습니까?

해결책

The reason why the GC API in is not completely implemented in RAP is that some features are hard or impossible to implement in all browsers. For example, in IE7 and IE8, the webclient has to resort to VML to draw, which is very limited. But also the HTML5 Canvas API does not cover all features of the GC API. I guess that transformations are only possible with SVG, which has already been considered as an alternative to HTML Canvas.

I'd suggest that you open an enhancement request for your requirements.

다른 팁

Please open an enhancement request here [1]. I'm not sure if all the Transform API could be implemented against HTML canvas in all supported by RAP browsers.

[1] http://eclipse.org/rap/bugs/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top