• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the NSView bounds origin point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the NSView bounds origin point


  • Subject: Re: Changing the NSView bounds origin point
  • From: Gustavo Pizano <email@hidden>
  • Date: Thu, 29 Oct 2009 23:03:48 +0100

hehe.. well the problem is that it happens only with NSView when I apply the same to a NSButtonCell it does it normally. So far I pass the rectangle to the algorithm with a negative height and the origin to be (0, height) and it works,. but Im not happy with this solution.

G.


On Oct 29, 2009, at 10:43 PM, Kyle Sluder wrote:

On Thu, Oct 29, 2009 at 2:37 PM, Gustavo Pizano
<email@hidden> wrote:
I have a custom NSView and Im drawing in it a glossy background, BUT it
seems the algorithm that Im using assumes as coordinates origin to be on the
upper left corner and the nsview origin start on the bottom left corner. Is
there any work around this?

Fix your algorithm.

--Kyle Sluder

_______________________________________________

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: 
 >Changing the NSView bounds origin point (From: Gustavo Pizano <email@hidden>)
 >Re: Changing the NSView bounds origin point (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Changing the NSView bounds origin point
  • Next by Date: Re: 10.4 System Preferences Cannot Find Its Main Window When Launched by a Pane Bundle
  • Previous by thread: Re: Changing the NSView bounds origin point
  • Next by thread: [MEET] November CocoaHeads Mac Developer Meetings
  • Index(es):
    • Date
    • Thread