| To: | REALbasic Games <realbasic-games at lists dot realsoftware dot com> |
|---|---|
| Subject: | Drawing Rotated Image |
| From: | Andrew Krebs <andykr at gmail dot com> |
| Date: | Tue, 20 Sep 2005 21:33:39 -0500 |
| Delivered-to: | realbasic-games at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UWtANgXQTwW6Fk/iwTOb3ygzHWgj2LSWChSmcjWyzfCOHgz/33eI4HDdpYidUCiIyojHzO7phyGB8ewvulJAquvuF3g8BLoEIZcxrgqHsLQFhGO26lIm3U3NGD1qP2DZ6dtfi5Bq1tQRtBUfudlSeh7wVbv1DXQZwonFxRhVvVs= |
I use the rotation property of the Object2D class to rotate some pictures. From there, I draw them onto a canvas. Whenever they are drawn, they are sliced off. The amount sliced off changes based on the degree of rotation. Is there some magic way to draw them on the canvas so that they don't get chopped off? I would like them as close to the corner (0,0) as possible so drawing them in the middle of the canvas would not work. The images are rectangular in nature and have varying sizes. Thanks. -- andykr at gmail dot com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 3D Ball, Niccolo Zapponi |
|---|---|
| Next by Date: | Re: Drawing Rotated Image, Joseph J. Strout |
| Previous by Thread: | 3D Ball, Niccolo Zapponi |
| Next by Thread: | Re: Drawing Rotated Image, Joseph J. Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |