• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
drawing flipped images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: drawing flipped images
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Initialising NSTableColumn ??? Continued from : Setting NSPopUpButtonCell Value from NSTable
  • Next by Date: alternating background in rows of NSCell subclass
  • Previous by thread: Re: large type effect howto?
  • Next by thread: Re: drawing flipped images
  • Index(es):
    • Date
    • Thread