| To: | REALbasic Games <realbasic-games at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Drawing Rotated Image |
| From: | Troy Rollins <troy at rpsystems dot net> |
| Date: | Thu, 22 Sep 2005 23:32:56 -0400 |
| Delivered-to: | realbasic-games at lists dot realsoftware dot com |
| References: | <496bf51a05092019337180466a at mail dot gmail dot com> <a06200704bf567b8c2eb0 at 10 dot 0 dot 1 dot 4> <496bf51a0509211826355b31bb at mail dot gmail dot com> <a06200702bf57caa5de4d at 10 dot 0 dot 1 dot 4> <496bf51a050922191027900e59 at mail dot gmail dot com> |
On Sep 22, 2005, at 10:10 PM, Andrew Krebs wrote: How do you know at what coordinates to draw the picture so that is does not get cut off by the canvas bounds, yet the upper edge remains as close to 0,0 as possible? So the big key here would be how to measure the new size of the object2D after rotation. It seems they have no inherent size, and expand or contract to fit their content. I ran some tests, but didn't come up with any good ways to measure that. It will be interesting to hear how it is done. If there is a property to read for it, I didn't stumble upon it. -- Troy RPSystems, Ltd. http://www.rpsystems.net _______________________________________________ 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: Drawing Rotated Image, Andrew Krebs |
|---|---|
| Next by Date: | [ANN] Game Input Displayname Project, Sam Rowlands |
| Previous by Thread: | Re: Drawing Rotated Image, Andrew Krebs |
| Next by Thread: | Re: Drawing Rotated Image, Joseph J. Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |