Re: 1-bit NSBitmapImageRep?
Re: 1-bit NSBitmapImageRep?
- Subject: Re: 1-bit NSBitmapImageRep?
- From: Uli Kusterer <email@hidden>
- Date: Thu, 17 Apr 2008 14:59:43 +0200
Am 17.04.2008 um 03:57 schrieb Graham Cox:
Is it possible to create a 1-bit (black and white) NSBitMapImageRep?
If so, what are the magic parameters? If not, what is the smallest
number of bits per pixel supported?
Others have already given you options, but what I'm wondering is what
you need this for? Maybe you could just use an NSBezierPath instead?
That essentially consists of on/off areas just the same, and can be
applied as a clipping path to all sorts of objects. When you need to
draw it, you can still draw it in black or whatever.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden