Re: maintaining alpha value for intersecting lines?
Re: maintaining alpha value for intersecting lines?
- Subject: Re: maintaining alpha value for intersecting lines?
- From: Andy Lee <email@hidden>
- Date: Thu, 13 Sep 2012 12:00:50 -0400
Are the lines the same color? Is it possible you can do your drawing in a layer, draw the Bezier paths *without* transparency (alpha = 1), and then apply alpha to the layer?
--Andy
On Sep 13, 2012, at 8:40 AM, Koen van der Drift <email@hidden> 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
_______________________________________________
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