Call drawPaint instead of drawPath if there's clip (#5937)
Call drawPaint instead of drawPath if there's clip (#5937)

If we want to avoid the bleeding edge artifact (flutter/flutter#18057 (comment)) using saveLayer, we have to call drawPaint instead of drawPath as anti-aliased drawPath will always have such artifacts.

This is discovered when I try to add golden tests for such bleeding artifacts using our new Clip enum. Here's the updated golden files: flutter/goldens@cb1fa8a?short_path=57b30ce#diff-57b30cea9b10b7ca689009854e12d70e
aam/engine,Hixie/sky_engine,Hixie/sky_engine,tvolkert/engine,flutter/engine,aam/engine,cdotstout/sky_engine,chinmaygarde/sky_engine,jason-simmons/flutter_engine,tvolkert/engine,jamesr/sky_engine,jason-simmons/flutter_engine,jason-simmons/flutter_engine,rmacnak-google/engine,rmacnak-google/engine,flutter/engine,chinmaygarde/sky_engine,devoncarew/engine,mikejurka/engine,aam/engine,cdotstout/sky_engine,tvolkert/engine,jamesr/flutter_engine,mikejurka/engine,jamesr/sky_engine,flutter/engine,jamesr/flutter_engine,devoncarew/sky_engine,jason-simmons/sky_engine,mikejurka/engine,tvolkert/engine,devoncarew/sky_engine,devoncarew/engine,flutter/engine,chinmaygarde/flutter_engine,mikejurka/engine,rmacnak-google/engine,jamesr/sky_engine,krisgiesing/sky_engine,Hixie/sky_engine,krisgiesing/sky_engine,mikejurka/engine,jamesr/sky_engine,mikejurka/engine,chinmaygarde/sky_engine,jamesr/flutter_engine,jason-simmons/flutter_engine,jason-simmons/sky_engine,chinmaygarde/flutter_engine,mikejurka/engine,tvolkert/engine,jamesr/flutter_engine,rmacnak-google/engine,tvolkert/engine,jason-simmons/flutter_engine,devoncarew/sky_engine,jamesr/flutter_engine,rmacnak-google/engine,Hixie/sky_engine,jamesr/sky_engine,cdotstout/sky_engine,devoncarew/engine,flutter/engine,flutter/engine,jamesr/flutter_engine,jason-simmons/sky_engine,chinmaygarde/flutter_engine,aam/engine,jamesr/flutter_engine,Hixie/sky_engine,jamesr/sky_engine,chinmaygarde/flutter_engine,mikejurka/engine,krisgiesing/sky_engine,chinmaygarde/flutter_engine,rmacnak-google/engine,jason-simmons/flutter_engine,devoncarew/sky_engine,devoncarew/engine,jason-simmons/sky_engine,tvolkert/engine,krisgiesing/sky_engine,devoncarew/sky_engine,rmacnak-google/engine,chinmaygarde/sky_engine,jamesr/sky_engine,flutter/engine,devoncarew/engine,krisgiesing/sky_engine,chinmaygarde/sky_engine,devoncarew/engine,jamesr/flutter_engine,aam/engine,aam/engine,cdotstout/sky_engine,chinmaygarde/sky_engine,chinmaygarde/flutter_engine,Hixie/sky_engine,jason-simmons/flutter_engine,Hixie/sky_engine,cdotstout/sky_engine,jason-simmons/sky_engine,aam/engine,jason-simmons/sky_engine,devoncarew/sky_engine,Hixie/sky_engine,jason-simmons/sky_engine,jamesr/flutter_engine,chinmaygarde/sky_engine,chinmaygarde/flutter_engine,krisgiesing/sky_engine,cdotstout/sky_engine,cdotstout/sky_engine,mikejurka/engine,devoncarew/engine,jason-simmons/flutter_engine,aam/engine,devoncarew/sky_engine,flutter/engine,krisgiesing/sky_engine