Tuesday, August 6, 2013

Re: solution for vector graphics with GWT?

The new home for this library is https://github.com/laaglu/lib-gwt-svg and it says that it supports Android 3 and above and IE 9 and above. So you probably have an Android 2.x phone.

http://caniuse.com/#search=canvas
http://caniuse.com/#search=svg

If you go the SVG route and want to support IE8 and below you need a library that uses VML to display SVG for IE. On Android 2.x, which does not support any SVG, you need a library that parses the SVG and renders it on a canvas or ask your clients to install a more modern browser on Android 2.x.

If you want to go the canvas route then you don't have an issue on Android 2.x but if you need to support IE8 and below you need a library that emulates canvas using VML or even Flash.

A SVG library that also supports IE6-8 is http://raphaeljs.com/ which also has at least two GWT wrappers: 
https://code.google.com/p/raphael4gwt/
https://code.google.com/p/raphaelgwt/

So first decide if you want to support IE6-8 and Android 2.x stock browser (no idea if it has a name) and then choose a library that fits your needs.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment