CGContextReplacePathWithStrokedPath problem?

2008-03-27 Thread Graham Cox
I'm using CGContextReplacePathWithStrokedPath to get an outline of a  
stroke, but it seems to ignore the current line cap, join and dash  
settings (it does thankfully honour the line width though, so it's not  
entirely useless). Can someone confirm that, or am I doing something  
wrong?


--
S.O.S.
___

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

This email sent to [EMAIL PROTECTED]


Re: CGContextReplacePathWithStrokedPath problem?

2008-03-27 Thread Graham Cox
Never mind, I was doing something wrong - it does honour all of those  
settings ;-) Apologies for doubting Quartz's engineers!


(BTW, an aside: since Quartz has the ability to do this sort of bezier  
curve fitting, how about exposing more of it in the API? It would be  
great to be able to unflatten a bezier curve without using difficult  
curve fitting code (e.g. graphics gems), some of which is very tricky  
to get working well).


--
S.O.S.



On 28 Mar 2008, at 12:20 pm, Graham Cox wrote:
I'm using CGContextReplacePathWithStrokedPath to get an outline of a  
stroke, but it seems to ignore the current line cap, join and dash  
settings (it does thankfully honour the line width though, so it's  
not entirely useless). Can someone confirm that, or am I doing  
something wrong?


--
S.O.S.
___

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:
http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com

This email sent to [EMAIL PROTECTED]


___

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

This email sent to [EMAIL PROTECTED]