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