Custom view transparent fill problem
Custom view transparent fill problem
- Subject: Custom view transparent fill problem
- From: Steve Sims <email@hidden>
- Date: Mon, 17 May 2004 19:18:39 -0400
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.