According to http://www.html5rocks.com/en/tutorials/canvas/performance/, if you draw with sub-pixel coordinates, Canvas will automatically do anti-aliasing.
HTH, /dmc On Fri, Sep 9, 2011 at 11:54 AM, Christopher Piggott <cpigg...@gmail.com>wrote: > Hi, > > I made an analog gauge using GWT Canvas but the needle isn't anti- > aliased so it doesn't look so hot. Is there a way to draw > using .lineTo() and get a nice anti-aliased line? > > --Chris > > -- > 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. > > -- David Chandler Developer Programs Engineer, GWT+GAE w: http://code.google.com/ b: http://turbomanage.wordpress.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.