[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix: NSBezierPath, appendBezierPathWithArcWithCenter:

From: Nicola Pero
Subject: Re: Fix: NSBezierPath, appendBezierPathWithArcWithCenter:
Date: Thu, 1 Mar 2001 04:17:55 +0100 (CET)

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]