TouchVGShape contains the following cross-platform libraries using C++ for vector drawing frameworks:
- geom: Math and geometry library.
- graph: 2D Graphics interface library using geom library.
- shape: 2D Shape library using geom and graph libraries.
- shapedoc: Shape document library using above libraries.
- jsonstorage: A storage adapter using rapidjson(a fast JSON parser/generator).
This is an open source LGPL 2.1 licensed project that is in active development. Contributors and sponsors are welcome.
-
Build for iOS platform on Mac OS X.
Open ios/TouchVGShape.xcodeproj in Xcode, then build the library project.
-
Build for Android platform on Mac, Linux or Windows.
Cd the 'android' folder of this project and type
./build.shto build with ndk-build. MinGW and MSYS are recommend on Windows.The library
libTouchVGShape.awill be outputed toandroid/touchvgshape/obj/local/armeabi. -
Build for more platforms and targets
Cd the 'core' folder of this project and type
makeormake all installto generate libraries on Mac, Linux or Windows.Type
make java,make pythonormake csharpto generate libraries for another language applications using Java, Python or C#.Type
make clean java.clean python.cleanto remove the program object files.