Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] GC and Polygons


There's no support in SWT.  Use java.awt.geom.AffineTransform, java.awt.Polygon, PathIterator, and then convert back to int[].




"Anthony Bennis" <anthonybennis@xxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

01/22/2004 06:58 AM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] GC and Polygons



Hi,

I've been looking through the GC class, and there seems to be limited methods
avaiable for dealing with Polygons.

I need to rotate a Polygon on a Canvas. Is there a helper method some where
that I am missing, or does anyone know of a way to rotate Polygons  or transorm
their points, using the GC?

Regards,
Anthony Bennis.

*************************** ADVERTISEMENT ******************************
Get 100 Free Mapping Credits from IOL Mapping! All new site and new
features. Log on for your Free Credits! maps.IOL.ie
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top