Git Product home page Git Product logo

Comments (3)

acerbetti avatar acerbetti commented on August 17, 2024

When you undo the latest step, this is what is happening:

  1. the cache image is erased
  2. every path in the undo array will be redrawn, but the last one

One suggestion to improve the performances could be to save more than one cache image, let say once every 10 draws. Doing this, when you undo, you will redraw only up to 9 items ...

from acedrawingview.

Rao27 avatar Rao27 commented on August 17, 2024

saving extra cache image is good way to solve but if 1 of the ten draw is too big then it will take much time. Can we update cache image every time, and when undo is pressed it will just replace last image.

from acedrawingview.

Rao27 avatar Rao27 commented on August 17, 2024

Done with Undo time gap.

I have one doubt regarding this. Hope this is not the wrong place to ask. I apologize if it is.

I am developing one application in which i will let user to draw a picture, after user completes drawing i will display the video how user did that. So gradually it will redraw complete drawing. I am done with this part but i am stuck with fast forward functionality. In which user will directly see final drawing. So how can i implement that. I have developed code for that and it works fine with simulator but i am facing problem in device as application crashes when i click on that button. I think reason is in device we can not render too much data with one click at the same time.

Can you guide with this?
Please give some idea if you have on this, will try to implement that.

-Thanx.

from acedrawingview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.