• 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
NSMovieView Aspect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMovieView Aspect


  • Subject: NSMovieView Aspect
  • From: Chris Backas <email@hidden>
  • Date: Thu, 18 Sep 2003 19:03:00 -0400 (EDT)
  • Priority: Normal

Hello all,

I've written a replacement movieRect method in a subclass of NSMovieView so that I can take whatever media I'm given and make sure to resize it proportionately. This is working well, but when I swap one piece
of media for another in the view, pieces of the old one remain if the new Rect is smaller in any way than the previous. I tried overriding drawRect and filling the Rectangle with a color before calling the super's
version, but that resulted in oddities such as images not displaying at all until the movie changed yet again.

Is there a simple way to fix this?

Thanks,
Chris Backas
_______________________________________________
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:
    • mysql question
      • From: Jeff Biggus <email@hidden>
  • Prev by Date: Re: NSSaveView and odd NSCFArray errors
  • Next by Date: Re: Writing a protected method in Obj-C
  • Previous by thread: Re: Writing a protected method in Obj-C
  • Next by thread: mysql question
  • Index(es):
    • Date
    • Thread