Giter Club home page Giter Club logo

ark-penandpdf's People

Contributors

kirillt avatar

Watchers

 avatar

ark-penandpdf's Issues

Redesign of the legacy app

This older implementation should be reworked with better drawing capabilities and ARK support:
https://github.com/ARK-Builders/ARK-PenAndPDF-Legacy

A drawing library could be extracted from ARK Retouch and used for drawing on pages.

For the start, this should be implemented:

  1. The app can invoke ark-filepicker and select a PDF file using it. ark-filepicker should be used due to its "roots" tab, which simplifies access to folders registered as ARK mounting points.
  2. The PDF selected can be viewed, user can scroll pages by dragging motion over screen borders. Bottom scrollbar also could be displayed allowing quicker selection of necessary page. User should be capable of hiding the bottom scrollbar by tapping on any point of the document.
  3. The app must have a floating [edit] button. When it's tapped, user gains capability to edit current page. All applicable operations from ARK Retouch should be supported by extracting common code into a library. Cropping or rotation are not needed for this app. Drawing with any color, thickness and transparency level should be accessible with aid of new buttons. All control buttons should be hided by tap though. Scrolling pages should be disabled in drawing mode. Tapping [edit] button again must switch mode back to viewing. If there are any unsaved changes, another floating button [save] must appear. For now, saving the document could be just overwriting the original file. Saving into separate document will be implemented later together with versions tracking.

Bluetooth pen support

External pointing/drawing devices should be supported. When such connected, we could allow mixed viewing/drawing mode. User actions with finger should operate in viewing mode: scrolling, zooming. User actions with pen should result in drawing. No need to press [draw] button in order to start drawing.

Versions tracking

Saving as separate document in an ARK-enabled folder (i.e. a folder with .ark subfolder) should utilize versions storage and link id of the original document with id of the document being saved. Some inspiration for future features can be taken from this feature.

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.