On 2012-09-13, at 9:02 AM, Koen van der Drift <koenvanderdr...@gmail.com> wrote:

> On Sep 13, 2012, at 11:44, Ken Thomases <k...@codeweavers.com> wrote:
> 
>> On Sep 13, 2012, at 7:40 AM, 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?
>> 
>> Does this still happen with a single NSBezierPath containing both lines?
> 
> Is that possible, since they all have different begin and end points?
> 
> - Koen.

Each stroke can have separate begin and end points from previous strokes. Look 
at -[NSBezierPath moveToPoint:]

Erik





> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/erik.stainsby%40roaringsky.ca
> 
> This email sent to erik.stain...@roaringsky.ca

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to