Re: [PATCH 1/3] gdi32: Set current position properly after ArcTo.

2007-06-20 Thread Misha Koshelev
On Wed, 2007-06-20 at 12:09 +0200, Alexandre Julliard wrote: > Misha Koshelev <[EMAIL PROTECTED]> writes: > > > +if (!PATH_IsPathOpen(dc->path)) > > { > > -angle = atan2( > > -((yend-ycenter)/height), > > -((xend-xcenter)/width)); > > -

Re: [PATCH 1/3] gdi32: Set current position properly after ArcTo.

2007-06-20 Thread Misha Koshelev
On Wed, 2007-06-20 at 12:09 +0200, Alexandre Julliard wrote: > Misha Koshelev <[EMAIL PROTECTED]> writes: > > > +if (!PATH_IsPathOpen(dc->path)) > > { > > -angle = atan2( > > -((yend-ycenter)/height), > > -((xend-xcenter)/width)); > > -

Re: [PATCH 1/3] gdi32: Set current position properly after ArcTo.

2007-06-20 Thread Alexandre Julliard
Misha Koshelev <[EMAIL PROTECTED]> writes: > +if (!PATH_IsPathOpen(dc->path)) > { > -angle = atan2( > -((yend-ycenter)/height), > -((xend-xcenter)/width)); > -MoveToEx(hdc, GDI_ROUND(xcenter+(cos(angle)*xradius)), > -