Re: maintaining alpha value for intersecting lines?
Re: maintaining alpha value for intersecting lines?
- Subject: Re: maintaining alpha value for intersecting lines?
- From: Jean Suisse <email@hidden>
- Date: Thu, 13 Sep 2012 14:51:20 +0200
It is the expected behavior, since the stacking of two partially transparent objects leads to a less transparent set.
So I don't know what you want is possible.
Are your lines straight ? If so, maybe you could try to draw one of them in two segments, to avoid the intersection (beware of the anti-aliasing).
- Jean
On 13 sept. 2012, at 14:40, Koen van der Drift wrote:
> When I draw two lines using NSBezierPaths, both of which have an alpha
> value of let's say 0.5, the alpha value appears to be higher at the
> intersection (the color becomes more opaque). Is there a way to
> maintain the original alpha value for lines that intersect?
>
> - Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden