Git Product home page Git Product logo

vgwpf-demo's Introduction

TouchVG Demo for WPF

This is a unit test and example project for vgwpf, which is a lightweight 2D vector drawing framework for Windows (WPF).

arch

License

This is an open source LGPL 2.1 licensed project. It uses the following open source projects:

  • vgwpf (LGPL): Vector drawing framework for Windows.
  • vgcore (LGPL): Cross-platform vector drawing libraries using C++.
  • DemoCmds: A template and example project containing customized shape and command classes.

How to Compile

  • Open Test_cs10.sln in Visual Studio 2010 (Need VC++ and C#), then run theWpfDemo application. Or open Test_cs9.sln in VS2008.

    • Need to install the lastest version of SWIG, and add the location to PATH.
  • Type ./build.sh can regenerate touchvglib/core/*.cs.

Add more shapes and commands

  • Do not want to write C++ code? Please reference to testview/shape package to write your own shape and command classes.

  • You can create library project containing your own shapes and commands. So the TouchVG and TouchVGCore libraries does not require changes.

    • Checkout and enter DemoCmds directory, then type python newproj.py YourCmds:

      git clone https://github.com/rhcad/DemoCmds.git
      cd DemoCmds
      python newproj.py MyCmds
  • You can customize the drawing behavior via implement your CmdObserver class (see the example in DemoCmds ).

How to Contribute

Contributors and sponsors are welcome. You may translate, commit issues or pull requests on this Github site. To contribute, please follow the branching model outlined here: A successful Git branching model.

vgwpf-demo's People

Contributors

rhcad avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vgwpf-demo's Issues

修改Android工程引用方式

请将引用库Jar方式改为引用工程,并对其他不符合主流习惯的进行修改,然后提交PR。任何问题可回复讨论,谢谢。

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.