> I am afraid that I may not have phrased my question regarding the rotation
> of objects correctly the first time. What I need is to rotate IMAGES that
> have been imported into Metacard (which would not have the points property)
> in varying degrees without them being resized or distorted. Thanks.
Ah, that's quite a different problem. The best approach here depends
on whether you just need a single rotated image, or need to be able to
rotate the image dynamically. If the former, you can just rotate the
image with an image manipulation package and then import it into
MetaCard (xv and the PBM utilities can rotate images, as can most
commercial image manipulation packages).
If you need to rotate image dynamically, you'll need to write some C
code to do this, and use the image object's pixmapId property to
display the rotated images. See the "Life" demo on the second page of
the externals tutorial stack for an example of how to do this.
Regards,
Scott
> Lisa Chuah
>
>
> *****************************************************
> * Lisa Chuah *
> * Psychology Department *
> * University of Western Australia *
> * Nedlands 6907 *
> * Western Australia *
> * Ph: (09) 380 1420 / (09) 380 3862 *
> * Fax: (09) 380 1006 *
> * WWW: http://www.psy.uwa.edu.au/user/lisa/lisa.htm *
> *****************************************************
>
***************************************************************
Scott Raney raney@metacard.com http://www.metacard.com
Tcl and ksh: syntactic gymnastics
MetaCard: it does what you think