Took me a while to debug this one.
Graphics::strokePath doesn’t work if you:
- set the colour to a transparent colour
- set a brush
- call strokePath
It’s a simple fix:
The following test shouldn’t just check the colour, it should also check if there is a brush
if (! state->colour.isTransparent())
{
Path stroke;
strokeType.createStrokedPath (stroke, path, transform);
fillPath (stroke);
}