I fill my bezierPath (a simple rect) with a red color.
Then I stroke it with a 10 point border with a 50% transparent gray color.
Since the border of the path gets drawn 50% inside the path and 50% outside
the path, I end up with an external 5 points 50% gray border and an internal
5 points red-gray border. That's really bad.

I really need to fill the rect with flat red and stroke it with a 10
points-width 50% transparent gray border.

If I draw 2 paths, the one to be filled with red and the one to be stroked
with gray, I end up with a small white gap between the 2 paths.

How to fix this trouble?


Regards
-- Leonardo


_______________________________________________

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