• 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: Shiny little square buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shiny little square buttons


  • Subject: Re: Shiny little square buttons
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 3 Jul 2006 13:06:28 +0200

Am 03.07.2006 um 12:13 schrieb Nik Youdale:
On 03/07/2006, at 7:23 PM, Uli Kusterer wrote:

NSRectFill & Co. are for *replacing* a color in a rect (e.g. to reset the alpha channel of an NSImage). Why does everybody insist on using the functions when we have a perfectly good fillRect method in NSBezierPath?

Oh! Thanks for the clarification. I had seen once in a learning cocoa book NSRectFill() used to colour a view, and have used it ever since! I will certainly check out the NSBezierPath fillRect method and see if that works for me, and possibly even use it in the future everytime!

What book was that? I'd like to mince a few words with the author ... ;-)


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: 
 >Shiny little square buttons (From: Nik Youdale <email@hidden>)
 >Re: Shiny little square buttons (From: Jeremy Dronfield <email@hidden>)
 >Re: Shiny little square buttons (From: Nik Youdale <email@hidden>)
 >Re: Shiny little square buttons (From: Uli Kusterer <email@hidden>)
 >Re: Shiny little square buttons (From: Nik Youdale <email@hidden>)

  • Prev by Date: Re: Shiny little square buttons
  • Next by Date: Outlet connecting two custom classes
  • Previous by thread: Re: Shiny little square buttons
  • Next by thread: Re: Shiny little square buttons
  • Index(es):
    • Date
    • Thread