I think we should begin a new path in drawPolyLine()

Change-Id: I113ab237561ae83a2d256be7ff14bea6432f0d06
This commit is contained in:
Tor Lillqvist
2014-04-07 16:11:06 +03:00
parent cd0417890d
commit 3ecab6fd71

View File

@@ -899,6 +899,8 @@ bool AquaSalGraphics::drawPolyLine(
// use the path to prepare the graphics context
CG_TRACE( "CGContextSaveGState(" << mrContext << ") " << ++mnContextStackDepth );
CGContextSaveGState( mrContext );
CG_TRACE( "CGContextBeginPath(" << mrContext << ")" );
CGContextBeginPath( mrContext );
CG_TRACE( "CGContextAddPath(" << mrContext << "," << xPath << ")" );
CGContextAddPath( mrContext, xPath );
// draw path with antialiased line