Linux drawGraphicsPath Issue

I’m seeing an issue CGraphicsPaths on Linux. I’m not exactly sure where the problem is, but I can say that it only shows up when the view is in a CViewContainter and a transform is involved. Same code draws fine in Windows and OSX.

There’s only an issue if the CViewContainer is offset from the origin (the top left corner is not 0,0). Here’s the related code, but I honestly can’t see what might be wrong with it.

I fixed the issue and added a pull request.

1 Like