• 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
Re: maintaining alpha value for intersecting lines?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maintaining alpha value for intersecting lines?


  • Subject: Re: maintaining alpha value for intersecting lines?
  • From: Erik Stainsby <email@hidden>
  • Date: Thu, 13 Sep 2012 09:55:41 -0700

On 2012-09-13, at 9:02 AM, Koen van der Drift <email@hidden> wrote:

> On Sep 13, 2012, at 11:44, Ken Thomases <email@hidden> 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 (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

References: 
 >maintaining alpha value for intersecting lines? (From: Koen van der Drift <email@hidden>)
 >Re: maintaining alpha value for intersecting lines? (From: Ken Thomases <email@hidden>)
 >Re: maintaining alpha value for intersecting lines? (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: maintaining alpha value for intersecting lines?
  • Next by Date: Re: maintaining alpha value for intersecting lines?
  • Previous by thread: Re: maintaining alpha value for intersecting lines?
  • Next by thread: Re: maintaining alpha value for intersecting lines?
  • Index(es):
    • Date
    • Thread