improve smoothnes of arcs rendering in Painter, fix a warning

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12710 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-05-18 12:16:15 +00:00
parent 91b84c7729
commit 3eaf632305
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -122,8 +122,8 @@ ServerWindow::ServerWindow( const char *string,
// fClientWinPort is the port to which the app awaits messages from the server
fClientWinPort(winport),
fClientLooperPort(looperPort),
fHandlerToken(handlerID),
fClientViewsWithInvalidCoords(B_VIEW_RESIZED)
fClientViewsWithInvalidCoords(B_VIEW_RESIZED),
fHandlerToken(handlerID)
{
STRACE(("ServerWindow(%s)::ServerWindow()\n",string? string: "NULL"));
@@ -776,6 +776,7 @@ Painter::StrokeArc(BPoint center, float xRadius, float yRadius,
-angleRad, -spanRad);
agg::conv_curve<agg::bezier_arc> path(arc);
path.approximation_scale(2.0);
return _StrokePath(path);
}