summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-07 16:09:27 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-07 17:56:03 +0300
commitcd0417890db3a40311351a4a820dfc81335bf519 (patch)
tree9acba193f15143d455c162b09050e4c31e25304d /vcl
parent978ceb4e2a645e16f9c43c2300338043c5e64727 (diff)
Add a couple of CG_TRACEs
Change-Id: If1f3f4aafd6fde4fcf916b31e7447667baa1bfd0
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/salgdicommon.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 69ba6bb15984..ee1232ad1dcd 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -398,7 +398,9 @@ void AquaSalGraphics::copyBits( const SalTwoRect& rPosAry, SalGraphics *pSrcGrap
static void DrawPattern50( void*, CGContextRef rContext )
{
static const CGRect aRects[2] = { { {0,0}, { 2, 2 } }, { { 2, 2 }, { 2, 2 } } };
+ CG_TRACE( "CGContextAddRects(" << rContext << ",aRects,2 )" );
CGContextAddRects( rContext, aRects, 2 );
+ CG_TRACE( "CGContextFillPath(" << rContext << ")" );
CGContextFillPath( rContext );
}
@@ -890,6 +892,7 @@ bool AquaSalGraphics::drawPolyLine(
AddPolygonToPath( xPath, rPolyLine, rPolyLine.isClosed(), !getAntiAliasB2DDraw(), true );
const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
+ CG_TRACE( "CGPathGetBoundingBox(" << xPath << ") = " << aRefreshRect );
// #i97317# workaround for Quartz having problems with drawing small polygons
if( ! ((aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125)) )
{