Hi,

I asked about this on quartz-dev but go no reply after a few days so I'm asking here.

My borderless window has a semi-transparent background. When the drawing in a subview changes, the background retains a ghost of the original drawing in the subview. I don't want that ghost image!

The app is a resizeable analog clock. (Yes, I'm a dilettante recreational coder.)

I've tried various -display methods, but none of them, so far, have fixed the problem. So -setNeedsDisplay:, -setNeedsDisplayInRect:, - displayRect, -displayRectIgnoringOpacity and others don't affect the ghosting problem.

Here's an image of what I'm seeing:

<http://members.ozemail.com.au/~ronfleckner/DrawingWithTransProb.png>

If the background is a solid colour, the drawing looks fine. It only appears when the background has opacity < 1.0 The opacity and colours of the window are set in the interface by the user.

Thanks for any help

Ron

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to