| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Subject: Re: Left, top vs X, Y in graphics |
| From: | Joe Strout <joe@inspiringapps.com> |
| Date: | Sat, 31 Jan 2009 19:54:26 -0700 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <a06240800c5aa6b775676@[10.0.0.5]> |
| Organization: | Inspiring Applications, Inc. |
| References: | <mailman.1032.1233428393.28708.realbasic-nug@lists.realsoftware.com> <a06240800c5aa6b775676@[10.0.0.5]> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
| User-agent: | Thunderbird 2.0.0.19 (Macintosh/20081209) |
Jack Citron wrote: left and top can,t be used.True. Why would you think they could?Because! Oh, well, OK then. :) That an object2D would for some reason have left and top? They don't. They have X an Y to specify the center, and width and height to set the dimensions.Why must the "anchor point" be the "center?" Because that's how the engineers who designed the Object2D classes decided to do it. And what is the center of an asymmetric object? Like what? We were talking about OvalShape, which is not asymmetric. If you define your own FigureShape, then the anchor point can be whatever you want -- it's just the arbitrary point that all the other points are defined relative to. Best, - Joe -- Joe Strout Inspiring Applications, Inc. http://www.InspiringApps.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Menu Text, Tom Russell |
|---|---|
| Next by Date: | Re: Read Only, Norman Palardy |
| Previous by Thread: | Subject: Re: Left, top vs X, Y in graphics, Jack Citron |
| Next by Thread: | OSX , launch app with command-line parameters, Michael Diehr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |