• 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: NSRect is joking me or what?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRect is joking me or what?


  • Subject: Re: NSRect is joking me or what?
  • From: Mathieu Labrie <email@hidden>
  • Date: Sat, 3 Aug 2002 18:47:53 -0400

I did try this and also the [self setNeedsDisplay:YES]; but it continue to draw out of the view. That's what I dont understand. (and the docs are not helping me either.. since they're in a language I am hardly learning).

Thanks.

On Saturday, August 3, 2002, at 06:47 PM, Lance Bland wrote:


On Saturday, August 3, 2002, at 06:33 PM, Mathieu Labrie wrote:

Well, I already tried to execute my [self drawMove] from my drawRect like you said but it only displayed the last image at the last clicked point. And I want it to display images everywhere I click.

clicking and drawing are separate.

To couple them, you need to end your click code method with a call to [self display] to see the latest change at the time the click is made.

-lance

------------------------------------
Lance Bland
mailto:email@hidden
web charts at http://www.vvi.com/products/chart
_______________________________________________
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.

  • Prev by Date: Re: NSRect is joking me or what?
  • Next by Date: Re: speech recognition
  • Previous by thread: Re: NSRect is joking me or what?
  • Next by thread: Re: Who is releasing my CFAllocator?
  • Index(es):
    • Date
    • Thread