Re: View hierarchy, documentation, and origin location.
Re: View hierarchy, documentation, and origin location.
- Subject: Re: View hierarchy, documentation, and origin location.
- From: Dave <email@hidden>
- Date: Tue, 24 Sep 2013 18:58:58 +0100
On 24 Sep 2013, at 18:26, Gary L. Wade <email@hidden> wrote:
> The object you created has an inset of 40, and since NSMatrix organizes its cells from the top left, that is what you are seeing, regardless of whether or not NSMatrix returns YES for -isFlipped. If this is a matter of personal discovery, override -isFlipped in your class and have it return NO to see if it changes anything for your own satisfaction. If you must override NSMatrix for some extra drawing, use the value of -isFlipped to know whether top left or bottom left is the origin.
> --
> Gary L. Wade (Sent from my iPhone)
> http://www.garywade.com/
>
Great answer!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >View hierarchy, documentation, and origin location. (From: Peter Teeson <email@hidden>) |
| >Re: View hierarchy, documentation, and origin location. (From: Kyle Sluder <email@hidden>) |
| >Re: View hierarchy, documentation, and origin location. (From: Peter Teeson <email@hidden>) |
| >Re: View hierarchy, documentation, and origin location. (From: Kyle Sluder <email@hidden>) |
| >Re: View hierarchy, documentation, and origin location. (From: Peter Teeson <email@hidden>) |
| >Re: View hierarchy, documentation, and origin location. (From: "Gary L. Wade" <email@hidden>) |