{"id":22018742,"url":"https://github.com/rhcad/vgwpf-demo","last_synced_at":"2025-05-07T03:27:52.362Z","repository":{"id":16668792,"uuid":"19424498","full_name":"rhcad/vgwpf-demo","owner":"rhcad","description":"Unit test and example project with TouchVG for WPF (Windows).","archived":false,"fork":false,"pushed_at":"2015-01-30T07:38:19.000Z","size":30320,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T05:51:07.697Z","etag":null,"topics":["touchvg","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhcad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-04T10:49:55.000Z","updated_at":"2023-12-29T06:50:39.000Z","dependencies_parsed_at":"2022-09-15T21:10:58.093Z","dependency_job_id":null,"html_url":"https://github.com/rhcad/vgwpf-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcad%2Fvgwpf-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcad%2Fvgwpf-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcad%2Fvgwpf-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcad%2Fvgwpf-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhcad","download_url":"https://codeload.github.com/rhcad/vgwpf-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806005,"owners_count":21807135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["touchvg","wpf"],"created_at":"2024-11-30T05:13:58.243Z","updated_at":"2025-05-07T03:27:52.342Z","avatar_url":"https://github.com/rhcad.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TouchVG Demo for WPF\n\nThis is a unit test and example project for [vgwpf](https://github.com/rhcad/vgwpf), which is a lightweight 2D vector drawing framework for Windows (WPF).\n\n![arch](http://touchvg.github.io/images/arch.svg)\n\n## License\n\nThis is an open source [LGPL 2.1](LICENSE.md) licensed project. It uses the following open source projects:\n\n- [vgwpf](https://github.com/rhcad/vgwpf) (LGPL): Vector drawing framework for Windows.\n- [vgcore](https://github.com/rhcad/vgcore) (LGPL): Cross-platform vector drawing libraries using C++.\n- [DemoCmds](https://github.com/rhcad/DemoCmds): A template and example project containing customized shape and command classes.\n\n## How to Compile\n\n- Open `Test_cs10.sln` in Visual Studio 2010 (Need VC++ and C#), then run the`WpfDemo` application. Or open `Test_cs9.sln` in VS2008.\n\n  - Need to install the lastest version of [SWIG](http://sourceforge.net/projects/swig/files/), and add the location to PATH.\n  \n- Type `./build.sh` can regenerate `touchvglib/core/*.cs`.\n \n## Add more shapes and commands\n\n- Do not want to write C++ code? Please reference to [testview/shape](https://github.com/rhcad/vgandroid-demo/tree/master/test/src/vgtest/testview/shape) package to write your own shape and command classes.\n\n- You can create library project containing your own shapes and commands. So the TouchVG and TouchVGCore libraries does not require changes.\n\n  - Checkout and enter [DemoCmds](https://github.com/rhcad/DemoCmds) directory, then type `python newproj.py YourCmds`:\n\n     ```shell\n     git clone https://github.com/rhcad/DemoCmds.git\n     cd DemoCmds\n     python newproj.py MyCmds\n     ```\n\n- You can customize the drawing behavior via implement your CmdObserver class (see the example in [DemoCmds](https://github.com/rhcad/DemoCmds) ).\n\n## How to Contribute\n\nContributors and sponsors are welcome. You may translate, commit issues or pull requests on this Github site.\nTo contribute, please follow the branching model outlined here: [A successful Git branching model](http://nvie.com/posts/a-successful-git-branching-model/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcad%2Fvgwpf-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhcad%2Fvgwpf-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcad%2Fvgwpf-demo/lists"}