1 Mar 2001 04:17
Re: Fix: NSBezierPath, appendBezierPathWithArcWithCenter:
Nicola Pero <n.pero <at> mi.flashnet.it>
2001-03-01 03:17:55 GMT
2001-03-01 03:17:55 GMT
> Hi, > > attached is a patch with a bunch of fixes for NSBezierPath to make arcs being > displayed. > With the patch arcs should now work in any direction and angle. > I also added a few lines of discription which I found in the ghostscript code. Thanks - I read your patch and it made lot of sense - so I applied it. I did not test it nor did I check on books the formula used to build the bezier path for the last bit of the arc, so I hope you did.Ahm - just a quick note - before committing, I sligthly simplified the formula used for F - not that I changed it (unless I made a typo) - just did some trivial algebraic/trigonometric simplifications. But as I didn't test it, please tell me if I did something wrong. > 2001-02-26 Georg Fleischmann > > * gui/Source/NSBezierPath.m > [NSBezierPath appendBezierPathWithArcWithCenter: ...]: > several fixes to make it work
Ahm - just a quick note - before committing, I sligthly simplified the
formula used for F - not that I changed it (unless I made a typo) - just
did some trivial algebraic/trigonometric simplifications. But as I didn't
test it, please tell me if I did something wrong.
> 2001-02-26 Georg Fleischmann
>
> * gui/Source/NSBezierPath.m
> [NSBezierPath appendBezierPathWithArcWithCenter: ...]:
> several fixes to make it work
RSS Feed