Git Product home page Git Product logo

Comments (3)

cmyr avatar cmyr commented on July 22, 2024

I'm going to hijack this issue to track copy/paste more generally; we're going to need to copy and paste paths for runebender, and if we're doing that within the app we should take the time to get it working with the rest of the system. For paths this means converting them to postscript.

Not sure about what the API for this will look like, but at the very least we should try to support text, rich text, images (at least png+jpg), and paths.

from druid.

raphlinus avatar raphlinus commented on July 22, 2024

I don't have strong feelings whether support is in druid-shell proper or not. It seems like there's benefit to having it hook the event loop. But yes, a valuable feature, and also valuable to support types beyond plain text (including vector graphics), as they're directly useful for Runebender.

As we've discussed on Zulip, it's unclear whether EPS or PDF are a better type for vector paths. The former is deprecated on macOS but possibly more widely implemented in other tools that we care about interop with.

from druid.

cmyr avatar cmyr commented on July 22, 2024

I think this will require druid-shell support, because the exact mechanics of the pasteboard (such as how the type of data is communicated) will be dependent on the platform.

from druid.

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.