• 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
Some NSImageRep wonderings and problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some NSImageRep wonderings and problems


  • Subject: Some NSImageRep wonderings and problems
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 3 Feb 2003 16:04:32 +0100

Let's say I have a NSImage with 3 NSBitmapImageRep.

1st issue:

If I get the NSImageRep of the NSImage using the "representations" method. It looks like I can't remove any of the NSImage representations due to the fact that the representations array is being retained by my call to the "representations" method. It's a but problematic when you want to remove representations and then draw the NSImage.

2nd issue:

When I'm using the same code in 2 applications. In one the [NSImage drawInRect:fromRect:operation:fraction:] method is using the smallest representation and in the other one is using the biggest representation. So it looks like the choice of a representation is a kind of lottery. I would have bet it was not the case but the facts are saying the opposite.
_______________________________________________
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.
  • Prev by Date: getFileSystemInfoForPath troubles
  • Next by Date: RE: Auto-mounting disk images
  • Previous by thread: getFileSystemInfoForPath troubles
  • Next by thread: NSSpellChecker Count Words
  • Index(es):
    • Date
    • Thread