Re: Custom view transparent fill problem
Re: Custom view transparent fill problem
- Subject: Re: Custom view transparent fill problem
- From: Steve Sims <email@hidden>
- Date: Tue, 18 May 2004 13:37:42 -0400
Doh!
I had an uninitialised variable within my display code that was causing
this problem. On a deployment build I had even worse display problems
caused by this.
Steve
On 17 May 2004, at 19:18, Steve Sims wrote:
OK gang, I have a minor problem that's puzzling me.
I have a window within which is an NSScrollView which contains a
custom view inside which I'm displaying some graphics. The graphics
can have a user-set background colour, and I support transparency in
my colour selection.
What I'm seeing with this setup is drawing problems when I scroll left
and right and have a transparent fill colour, and I'm not sure why.
What I see is vertical bars where the transparent fill colour has been
drawn twice. This happens even when I first try clearing the display
rectangle first in my drawRect with white.
In fact all areas that have transparent fills are getting this
striping effect.
Any ideas why this might be happening?
Steve
_______________________________________________
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.
_______________________________________________
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.