From f8bb3617c3a7ec598c42eff1f8562e3ccc95127f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 17 Dec 2008 09:32:16 +0000 Subject: Eliminate self-intersecting strokes. We refactor the surface fallbacks to convert full strokes and fills to the intermediate polygon representation (as opposed to before where we returned the trapezoidal representation). This allow greater flexibility to choose how then to rasterize the polygon. Where possible we use the local spans rasteriser for its increased performance, but still have the option to use the tessellator instead (for example, with the current Render protocol which does not yet have a polygon image). In order to accommodate this, the spans interface is tweaked to accept whole polygons instead of a path and the tessellator is tweaked for speed. Performance Impact ================== ... Still measuring, expecting some severe regressions. ... --- test/spline-decomposition.svg.ref.png | Bin 19156 -> 19540 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'test/spline-decomposition.svg.ref.png') diff --git a/test/spline-decomposition.svg.ref.png b/test/spline-decomposition.svg.ref.png index 9ea094a7..5afa0949 100644 Binary files a/test/spline-decomposition.svg.ref.png and b/test/spline-decomposition.svg.ref.png differ -- cgit v1.2.3