drawing flipped images
drawing flipped images
- Subject: drawing flipped images
- From: Chuck Soper <email@hidden>
- Date: Sun, 4 Jul 2004 23:21:38 -0700
Hello,
I have several hundred small images. Each image I draw both in an
NSImageView instance and in a subclass of NSCell. When I draw the
image in the NSCell subclass (using -(BOOL)drawInRect:(NSRect)rect;)
it's upside-down, of course. I understand that I could send
setFlipped:YES to the image, but then it'd be upside-down in the
NSImageView instance.
What is the best solution for this issue? Do I need two copies of
each image in memory, one flipped and one not flipped? Or, is there
an easier better way?
Thanks,
Chuck
_______________________________________________
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.