FROM : Quincey Morris
DATE : Thu Mar 13 00:05:02 2008
On Mar 12, 2008, at 14:49, Nathan Vander Wilt wrote:
> I don't understand what this "base" coordinate system
> is (not the window's, otherwise the conversions would
> likely be offset by the view's position therein,
> right?). But whatever it is, it seems to be shared by
> the CALayer. I'd appreciate a greater understanding of
> all this, but those functions seem to be necessary for
> any coordinate work in the layers that needs to relate
> to the NSView world.
All I know is what's in the release notes. They seem to be using
"base" to mean "whatever is providing the pixel grid". In the case of
normal views, this is the screen (hence the well-known window to/
fromBase conversion). In the case of layer backed views, it means the
backing store. So it sort of makes sense.
DATE : Thu Mar 13 00:05:02 2008
On Mar 12, 2008, at 14:49, Nathan Vander Wilt wrote:
> I don't understand what this "base" coordinate system
> is (not the window's, otherwise the conversions would
> likely be offset by the view's position therein,
> right?). But whatever it is, it seems to be shared by
> the CALayer. I'd appreciate a greater understanding of
> all this, but those functions seem to be necessary for
> any coordinate work in the layers that needs to relate
> to the NSView world.
All I know is what's in the release notes. They seem to be using
"base" to mean "whatever is providing the pixel grid". In the case of
normal views, this is the screen (hence the well-known window to/
fromBase conversion). In the case of layer backed views, it means the
backing store. So it sort of makes sense.
| Related mails | Author | Date |
|---|---|---|
| Nathan Vander Wilt | Mar 12, 20:13 | |
| Jens Alfke | Mar 12, 21:13 | |
| Quincey Morris | Mar 12, 22:05 | |
| Nathan Vander Wilt | Mar 12, 22:49 | |
| Nathan Vander Wilt | Mar 12, 23:06 | |
| Jens Alfke | Mar 12, 23:26 | |
| Jens Alfke | Mar 12, 23:35 | |
| Quincey Morris | Mar 13, 00:05 | |
| Nathan Vander Wilt | Mar 13, 00:38 |






Cocoa mail archive

