Skip to content
  • Oliver Sander's avatar
    ArthurOutputDev: Replace the QPainter by a stack of QPainters · bda1d76f
    Oliver Sander authored and Albert Astals Cid's avatar Albert Astals Cid committed
    This patch lays some groundwork for the support of transparency
    groups.  Transparency groups temporarily create new painters.
    These get painted upon, and then the resulting new painting
    will be drawn at once onto the original PaintDevice.  To implement
    this, we need a stack of painters rather than a single one.
    The first painter on the stack is the original one.  Opening a
    transparency group pushes a new painter onto the stack, and
    all drawing operations always go to the painter on the top
    of the stack.
    bda1d76f