Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QGraphicsItem::setCacheMode and multiple views

    General and Desktop
    qgraphicsitem setcachemode
    1
    1
    556
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Asperamanca last edited by

      How does the cache mode "DeviceCoordinateCache" for a QGraphicsItem behave is that item is displayed in multiple views?

      I have a text that renders in two views: Once to the screen, once on the printer. The text looks OK on the first view (screen), but ugly on the second view (printer). I suspect that the second view re-uses the cache filled by painting into the 1st view, even though the view's transformation is different. Would that be possible?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post