20 Jun
2007
20 Jun
'07
10:09 a.m.
Misha Koshelev <mk144210(a)bcm.edu> writes:
+ if (!PATH_IsPathOpen(dc->path)) { - angle = atan2( - ((yend-ycenter)/height), - ((xend-xcenter)/width)); - MoveToEx(hdc, GDI_ROUND(xcenter+(cos(angle)*xradius)), - GDI_ROUND(ycenter+(sin(angle)*yradius)), NULL); + if (result && dc->funcs->pMoveTo) result = dc->funcs->pMoveTo(dc->physDev,end.x,end.y);
It would be cleaner to add a PATH_ArcTo function instead of having multiple PATH_IsPathOpen checks in the generic function. -- Alexandre Julliard julliard(a)winehq.org