• 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: lockFocus clearing current color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lockFocus clearing current color


  • Subject: Re: lockFocus clearing current color
  • From: Jonathon Mah <email@hidden>
  • Date: Sun, 17 Apr 2005 02:49:07 +0930

On 17 Apr 2005, at 02:40, Matt Neuburg wrote:

After locking focus onto another view/image, you may
need to set the color again, otherwise it will default
to black.

So how do I find out what it was?

It's your code, so how can you *not* know what it was? m.

I /could/ pass it along as an argument to the -strokeOutside method, but I shouldn't have to. Just as you don't have to pass it along to -[NSBezierPath fill].


(This assumes you read my previous message on it being a category of NSBezierPath.)


Jonathon Mah 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


References: 
 >Re: lockFocus clearing current color (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: lockFocus clearing current color
  • Next by Date: Re: NSArrayController - Mutability lost?
  • Previous by thread: Re: lockFocus clearing current color
  • Next by thread: Re: lockFocus clearing current color
  • Index(es):
    • Date
    • Thread