Menu

#1 resize of canvas doesn't work properly

open
nobody
GUI (2)
5
2009-11-26
2009-11-26
No

if you resize the canvas (especially when the scene is complex) then you see not the whole scene (some gray backround at the edges appears.
Apparently the componentlistener works fine, but the painting of the mergedimage gets ignored, maybe away-optimized.
the offscreencanvas seem to get the right size and create the right image

Discussion

  • Hendrik Rohn

    Hendrik Rohn - 2009-11-26

    to test it adding a drawOval() to the paint-class; the oval will be painted correctly

     
  • Hendrik Rohn

    Hendrik Rohn - 2009-11-26
    • labels: --> GUI
     
  • Hendrik Rohn

    Hendrik Rohn - 2010-01-16

    fixed so far, but not really nice: a timer now updates the OfflineCanvas each 100ms, works well

     
  • Hendrik Rohn

    Hendrik Rohn - 2010-03-17

    grml, wasn't fixed correctly, works now with the timer

     

Log in to post a comment.