From 3ecab6fd717a910bcff488bbd1a30ab4cc86d8fd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 7 Apr 2014 16:11:06 +0300 Subject: [PATCH] I think we should begin a new path in drawPolyLine() Change-Id: I113ab237561ae83a2d256be7ff14bea6432f0d06 --- vcl/quartz/salgdicommon.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index ee1232ad1dcd..72a44b91abac 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -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