Re: NSImage gets distorted when scrolled
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