Giter Site home page Giter Site logo

lzsanqiu / draftoola Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nitramr/draftoola

0.0 0.0 0.0 581 KB

Open Source UI and UX prototyping tool for designing static and animated layouts.

License: GNU General Public License v2.0

C++ 98.42% C 0.24% QMake 1.34%

draftoola's Introduction

Draftoola

Open Source UI and UX prototyping tool for designing static and animated layouts.

Draftoola is a combination out of "draft" and "tool".

Note: it is an early development state and not ready to use!

Development State

Bildschirmfoto von 2019-05-05 12-56-01

Dependencies

Draftoola requires minimum Qt 5.14 - https://www.qt.io/download
Draftoola requires Skia - https://skia.org/

Prepare Skia library

Download Skia

Download Skia somewhere on your local machine by following instructions.
Draftoola code is tested with "chrome/m81" branch from Skia library. You can use a later one, but it is not tested.
Open your terminal and navigate to your preferred folder where Skia should be downloaded.

git clone -b chrome/m81 --single-branch https://github.com/google/skia.git

Install dependencies

Install 3rd party libs and other dependencies for Skia.

cd skia
python2 tools/git-sync-deps

Install missing dependencies

tools/install_dependencies.sh

Precompile Skia

Now Skia have to precompiled as a static library. You can follow the official instructions on https://skia.org/user/build.

Example for Ubuntu

Create output folder and setup instructions for compiler.

bin/gn gen out/Release  --args='is_debug=false'

Compile via ninja. Depending on processing power of your machine it takes a while.

ninja -C out/Release

Add environment variable in QtCreator

Now we have to tell Draftoola where Skia is located. Add a new environment variable in QtCreator.
Variable: SKIA_DIR
Value: %your-path-to-skia-folder%/skia

Development Notes

Every vector-based path processing program needs good path operations, such as Boolean path operation, expanding and shrinking paths, etc. In the best case, the Bezier paths are retained in these operations. Qt SVG ist not the best library to render and work with SVG's. Target is to implement a powerful library.

The following libraries can be used.

draftoola's People

Contributors

nitramr avatar

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.