testla
V2EX  ›  问与答

HTML5 Canvas 该怎样省内存省时间地实现画图的撤销、重做功能?

  •  
  •   testla · Mar 6, 2014 · 4233 views
    This topic created in 4489 days ago, the information mentioned may be changed or developed.
    1 replies    1970-01-01 08:00:00 +08:00
    oott123
        1
    oott123  
       Mar 6, 2014 via Android
    都告诉你了把结果存到一个数组里你还不信…
    就是浪费一点内存而已,速度肯定比其它方法好啊…
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2531 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 12:29 · PVG 20:29 · LAX 05:29 · JFK 08:29
    ♥ Do have faith in what you're doing.