# vgwpf **Repository Path**: vg/vgwpf ## Basic Information - **Project Name**: vgwpf - **Description**: A lightweight 2D vector drawing framework for Windows (WPF). - **Primary Language**: C# - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: https://github.com/touchvg/vgwpf-demo - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2014-07-23 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TouchVG for WPF This is a lightweight 2D vector drawing framework using [TouchVGCore](http://git.oschina.net/vg/vgcore) for Windows (WPF). Features described in [Online document](http://touchvg.github.io). Please visit [TouchVG Demo](http://git.oschina.net/vg/vgwpf-demo) to see more examples. ![arch](https://git.oschina.net/vg/touchvg.io/raw/master/images/arch.png) ## License This is an open source [LGPL 2.1](LICENSE.md) licensed project. It uses the following open source projects: - [TouchVGCore](http://git.oschina.net/vg/vgcore) (LGPL): Cross-platform vector drawing libraries using C++. - [x3py](https://github.com/rhcad/x3py) (Apache): Compile script files. - [SWIG](https://github.com/swig/swig) (GPL): Use the tool to generate the glue code for Java and C#. ## 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](http://nvie.com/posts/a-successful-git-branching-model/). Welcome to the Chinese QQ group `192093613` to discuss and share. ## Contributors - [Zhang Yungui](https://github.com/rhcad) - [Archer](https://github.com/a7ch3r) - [ljlin](https://github.com/ljlin) - [Pengjun](https://github.com/pengjun) / Line and triangle commands - [Proteas](https://github.com/proteas) ## How to Compile - Open `Test_cs10.sln` in Visual Studio 2010 (Need VC++ and C#). Or open `Test_cs9.sln` in VS2008. - Need to install the lastest version of [SWIG](http://sourceforge.net/projects/swig/files/), and add the location to PATH. - Type `./build.sh` can regenerate `touchvglib/core/*.cs`. # Add more shapes and commands - You can use [newproj.py](http://git.oschina.net/vg/DemoCmds/blob/master/newproj.py) to create library project containing your own shapes and commands. So the TouchVG and TouchVGCore libraries does not require changes. - Checkout and enter [DemoCmds](http://git.oschina.net/vg/DemoCmds) directory, then type `python newproj.py YourCmds`: ```shell git clone http://git.oschina.net/vg/DemoCmds.git cd DemoCmds python newproj.py MyCmds ```