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 ... ;-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden