From 59b3a481fee140ed2508916e02addb8f3959ec7b Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Thu, 17 Mar 2016 12:00:39 -0400 Subject: fix paths and remove dead code More Skia driver cleanup. Fix the GN build for Skia. Remove unused functions from header. Remove agg setup that is not required. Change path construction to use the SkCanvas matrix to position the path rather than converting the points directly. Draw stroked paths using Skia rather than generated the filled path. Pin the minimum stroke width to 1 px in device space to mimic PDF's stroke dropout control. Factor out flipped and non-flipped matrices. Add some debugging code. Set the bitmap filter quality to high. This helps a lot with 1 bit sources. R=dsinclair@chromium.org, dsinclair, tsepez Review URL: https://codereview.chromium.org/1806843002 . --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index 9430dc3a67..b18c76eaaa 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -638,7 +638,7 @@ static_library("fxge") { ] if (pdf_use_skia) { - sources += [ "core/src/fxge/skia/fx_skia_device.cpp" ] + sources += [ "core/fxge/skia/fx_skia_device.cpp" ] deps += [ "//skia" ] } -- cgit v1.2.3