On Sep 25, 12:18 pm, olivier nouguier <olivier.nougu...@gmail.com>
wrote:
> On Fri, Sep 25, 2009 at 6:08 PM, David Given <d...@cowlark.com> wrote:
> > Stephan wrote:
> > [...]
> > > i want to use affine transformations in Google Web Toolkit... How do i
> > > do that?
>
> > GWT has no graphics toolkit --- you can't actually *draw* anything other
> > than inserting HTML into your document. So if you're wanting to
> > transform graphics, you can't do that.
>
> Not so sure ;)
> Soon:http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas
>

The component you refer to is still in incubation and some parts are
still non functional. Also, there is nothing in the current API
suggesting that the widget will actmomually have an implementation of
the Java Graphics (or Graphics2D class). (See
http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/widgetideas/graphics/client/impl/GWTCanvasImpl.java)

Perhaps they should... but at the moment it is not possible. But, like
Olivier has said, you can manually calculate your graphic
transformations and use the class' methods to draw them. But then
again, I may just miss something totally great and awesome and I don't
know about it.

You can actually take a look at what has been made here :
http://www.chromeexperiments.com/ and go from there.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to