Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird problem with NSBezierpath fill method



On 09 Nov 06, at 03:58, Vinay Prabhu wrote:
<...>
[m_pInnerOutline setWindingRule:NSEvenOddWindingRule];
<...>

The "stroke" method works fine, but the "fill" method will not work. I had saved the drawImage as tif image and attached with the mail.

I am not understanding why "fill" method is not working !!!!
If bezier path contains only rectangle, the fill method works fine.

How is your path generated? I'm wondering if it's got the wrong winding direction or something. Try adding points in the opposite order and see if that makes any difference. _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Weird problem with NSBezierpath fill method (From: Vinay Prabhu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.