Re: Neep help implementing Resizing...
Re: Neep help implementing Resizing...
- Subject: Re: Neep help implementing Resizing...
- From: Sherm Pendley <email@hidden>
- Date: Wed, 19 Jun 2002 23:46:23 -0400
On Wednesday, December 31, 1969, at 07:26 PM, Roger O'Brien wrote:
Judging by your recent posts, your system clock is all over the place -
2001, 1985, 1969. Unless you're doing that on purpose, you may want to
check that out.
But anyway...
Hi, anybody please help me out. I am trying to implement resizing in a
custom window. Can somebody also give me an explanation of what
NSWindow's
"convertBaseToScreen:" means? Thanks in advance.
The origin point (0,0) of an NSWindow's base coordinate system is
located at the bottom-left corner of the window, but the origin of the
screen coordinate system is at the bottom-left corner of the screen.
For example, assume that the bottom-left corner of a window is ten
pixels away from the left edge of the screen, and ten pixels from the
bottom. If a pixel's location in the base coordinate system is 10,10,
it's location in the screen coordinate system would be 20,20.
Does that help, or does it just confuse things even more?
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.