• 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
Re: NSImage gets distorted when scrolled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage gets distorted when scrolled


  • Subject: Re: NSImage gets distorted when scrolled
  • From: Allan Odgaard <email@hidden>
  • Date: Sun, 3 Oct 2004 10:51:57 +0200

On 3. Oct 2004, at 5:40, Ron Ballesteros wrote:

I'm working on a small app that has a custom view and I'm currently running into a problem with my NSImage that I draw in the custom view.
The problem that I am having is that when I resize the window and scroll the image that is drawn which is a jpg file, the image gets stretch or smeared (not quite sure of the best way to describe it) in the direction that I scroll.

Do you clear the background in drawRect:?

It might be helpful if you put online an image of the result you see.


--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about programming

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSImage gets distorted when scrolled
      • From: Ron Ballesteros <email@hidden>
References: 
 >NSImage gets distorted when scrolled (From: Ron Ballesteros <email@hidden>)

  • Prev by Date: Re: NSDocument New ?
  • Next by Date: Re: Toggle between Alternate Menus
  • Previous by thread: NSImage gets distorted when scrolled
  • Next by thread: Re: NSImage gets distorted when scrolled
  • Index(es):
    • Date
    • Thread