• 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
Drawing outside of drawRect for NSView..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing outside of drawRect for NSView..


  • Subject: Drawing outside of drawRect for NSView..
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Sun, 15 Oct 2006 09:35:32 -0400

Is it possible to draw to a view outside of drawRect? For instance, what if I wanted to draw an NSRect when the mouseDown event is fired? Is this kind of thing bad practice? I've been trying to draw an NSRect to my view during the mouseDown event, but for reasons unknown to me the NSRect is being applied to the window and its coordinate system rather than my view's (and yes I used convertPoint:toView:). Thanks in advance.

----------------------------------
Carter R. Harrison
email@hidden
----------------------------------



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Drawing outside of drawRect for NSView..
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Core Data: Need help with fetch request
  • Next by Date: Re: The buttons at the bottom of a list
  • Previous by thread: Re: The buttons at the bottom of a list
  • Next by thread: Re: Drawing outside of drawRect for NSView..
  • Index(es):
    • Date
    • Thread