View | Details | Raw Unified | Return to issue 97317
Collapse All | Expand All

(-)aqua/source/gdi/salgdi.cxx (+10 lines)
Lines 913-918 Link Here
913
	CGContextAddPath( mrContext, xPath );
912
	CGContextAddPath( mrContext, xPath );
914
	const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
913
	const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
915
	CGPathRelease( xPath );
914
	CGPathRelease( xPath );
915
#ifndef NO_I97317_WORKAROUND
916
	// #i97317# workaround for Quartz having problems with drawing small polygons
917
	if( (aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125) )
918
		return true;
919
#endif
916
920
917
	// draw path with antialiased polygon
921
	// draw path with antialiased polygon
918
	CGContextSetShouldAntialias( mrContext, true );
922
	CGContextSetShouldAntialias( mrContext, true );
Lines 957-962 Link Here
957
	CGContextAddPath( mrContext, xPath );
961
	CGContextAddPath( mrContext, xPath );
958
	const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
962
	const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
959
	CGPathRelease( xPath );
963
	CGPathRelease( xPath );
964
#ifndef NO_I97317_WORKAROUND
965
	// #i97317# workaround for Quartz having problems with drawing small polygons
966
	if( (aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125) )
967
		return true;
968
#endif
960
	
969
	
961
	// draw path with antialiased line
970
	// draw path with antialiased line
962
	CGContextSetShouldAntialias( mrContext, true );
971
	CGContextSetShouldAntialias( mrContext, true );

Return to issue 97317