源码: https://github.com/wjakob/nanogui
准备工作:
sudo apt-get install libglfw3-dev -y
克隆源码:
git clone https://github.com/wjakob/nanogui
cd nanogui
git submodule update --init --recursive
编译:
cmake .
make
运行:
./example1
./example2
./example3
./example4
离线

离线
离线
伍零壹 wrote:
移植到单片机没有?
awtk 已经用上了nanovg:
https://github.com/zlgopen/awtk/tree/master/3rd/nanovg
后端软件渲染引擎:
https://github.com/zlgopen/awtk/tree/master/3rd/agg
离线