Placing an NSRect into an NSImage
Placing an NSRect into an NSImage
- Subject: Placing an NSRect into an NSImage
- From: Simone Manganelli <email@hidden>
- Date: Wed, 11 Dec 2002 15:25:58 -0800
OK, so I've quit messing around with NSProgressIndicators, since it's
too complicated, and I've decided to make my own little progress bars
to display in an NSTableView.
Problem is, I know how to create and draw in the NSRect, but I want to
output the NSRect to an NSImage that can be stored, so when the
NSTableView asks for the image, it's there. I can only seem to find
out how to draw an image into a view/rect, not a rect into an image.
Can someone help me with this?
-- Simone Manganelli
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.