Open TestTimothy opened 4 months ago
Divisions per bary and per paly are also wrong in the same way. I probably should have included some in the test case.
Yes, I don't know of an easy way to fix this, it is an artifact of the way that SVG pattern fills work when you pattern fill a group of objects like the lion (the fill is applied before the grouping, when we really want it to work the other way around).
It could possibly be fixed by using the charge as a mask on to the division but then you would need to overlay the charge again with a coloured stroke and transparent fill to get the details and shading back and then apply the features separately but it all got too complicated and my brain started to hurt.
As you note, it only works neatly if the charge is a single SVG path (so only the very simple, geometric ones), but it can produce some nice unintentional effects on really complicated shapes like the lions.
So sorry, yes you are correct but I can't fix it.