TestsTested | ✗ |
LangLanguage | C++C++ |
License | BSD |
ReleasedLast Release | Apr 2016 |
Maintained by Zhang Yungui.
A Cross-platform framework using C++ for 2D vector drawing frameworks such as vgios, vgandroid and vgwpf.
TouchVGCore contains the following cross-platform modules:
VGShape contains only geom and gshape modules used for other rendering.
This is an open source BSD licensed project that is in active development. Contributors and sponsors are welcome.
It uses the following open source projects:
TouchVGCore is available on CocoaPods. Just add the following to your project Podfile:
pod 'TouchVGCore'
Alternatively, you can add the project to your workspace and build as one of the following methods:
Open ios/TouchVGCore/TouchVGCore.xcodeproj
in Xcode, then build the library project.
Or cd the 'ios' folder of this project and type ./build.sh
to build ios/output/libTouchVGCore.a
.
./build.sh -arch arm64
to make iOS libraries for iOS 64-bit. Type ./build.sh clean
to remove object files.Cd the 'android' folder of this project and type ./build.sh
to build with ndk-build.
libTouchVGCore.a
will be outputed to android/output/armeabi
../build.sh -B
to rebuild the native libraries.Type ./build.sh APP_ABI=x86
to build for the x86 Emulator. The library will be outputed to android/output/x86
.
win\vc2010.sln
in Visual Studio 2010, then build the TouchVGCore library project (Win32 VC++ static library).Cd the 'core' folder of this project and type make
or make all install
to generate libraries on Mac, Linux or Windows.
Type make java
, make python
or make csharp
to generate libraries for another language applications using Java, Python or C#.
Type make clean java.clean python.clean
to remove the program object files.