Bug in Graphics::strokePath sometimes nothing appears

Took me a while to debug this one.

Graphics::strokePath doesn’t work if you:

  1. set the colour to a transparent colour
  2. set a brush
  3. 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);

Ah, yes! Cheers for that one Roland!