• 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
Custom view transparent fill problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Custom view transparent fill problem
      • From: Steve Sims <email@hidden>
  • Prev by Date: Re: disk:// and help:// security problems
  • Next by Date: Re: disk:// and help:// security problems
  • Previous by thread: Re: Preventing NSTableView hilighting
  • Next by thread: Re: Custom view transparent fill problem
  • Index(es):
    • Date
    • Thread