On Feb 8, 2013, at 9:25 AM, Omkar Ramtekkar wrote: > Wanted to know how can I add transparent dots or lines in CGPath or > NSBezierPath. Here are more details about the problem. I've a solid line say > width = 30(drawn using NSBezierPath or CGPath) , now I wanted to draw > transparent dots over it or transparent lines(thickness=2 or something > smaller than 30).
If by draw transparent dots, you mean something like "draw a path with a hole in it," then create a bezier path for the shape you want filled in, set it's winding to NSEvenOddWindingRule, then append to it a bezier path for the shape you want to be the "hole." Then take the resulting joined path and draw it. > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which… Don't send this to a mailing list. -- Seth Willits _______________________________________________ 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