From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

QPainterPath and texture offset

  • Hi

    I'm trying to fill my qpainterpath with a texture but for two identical paths located on a widget one under another the filling looks different.
    Looks like the filling starting coordinates are selected not by a square area of a path but with some different way so as result it looks unaligned.

    Is there any way to make it always aligned or set filling start coordinates manually?

  • I solved this by drawing on a QImage first and then copying the QImage to the widget.

Log in to reply