From 2cd3c35fc12ba60e96ae11112874854f82f13d82 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 27 Jan 2021 03:49:33 -0600 Subject: [PATCH] bit faster --- src/pixie/paths.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index e6b4bfd..f051ca0 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -841,7 +841,7 @@ proc fillShapes( var fillStart = x.int - leftCover = if at.int - x.int > 0: ceil(x) - x else: at - x + leftCover = if at.int - x.int > 0: trunc(x) + 1 - x else: at - x if leftCover != 0: inc fillStart if shouldFill(windingRule, count):