FROM : Nik Youdale
DATE : Mon Jul 03 12:13:03 2006
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!
Cheers
- Nik
DATE : Mon Jul 03 12:13:03 2006
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!
Cheers
- Nik
| Related mails | Author | Date |
|---|---|---|
| Nik Youdale | Jul 2, 13:54 | |
| Jeremy Dronfield | Jul 2, 15:40 | |
| Nik Youdale | Jul 2, 16:13 | |
| Andy Lee | Jul 2, 16:43 | |
| Uli Kusterer | Jul 3, 11:23 | |
| Nik Youdale | Jul 3, 12:13 | |
| Uli Kusterer | Jul 3, 13:06 | |
| George Orthwein | Jul 3, 16:23 | |
| Gerd Knops | Jul 3, 21:04 | |
| Ricky Sharp | Jul 3, 22:28 | |
| Uli Kusterer | Jul 4, 02:20 |






Cocoa mail archive

