iwadon / nanovg_example

My examples using NanoVG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nanovg_example

My examples using NanoVG

How to build

OS X

Install libraries:

% brew install glew glfw3 sdl2

Run update_ninja_file.sh to create build.ninja. update_ninja_file.sh requires Ruby and erb command:

% ./update_ninja_file.sh bulid.ninja.erb build.ninja

Use Ninja to build.

% ninja

Windows

Get and unzip files:

Use vse2013/nanovg_example-vse2013.sln with Visual Studio Express 2013.

Font

nanovg_example_glfw and nanovg_example_sdl requires mplus-1p-regular.ttf to draw the text. You can get this font from M+ FONTS.

About

My examples using NanoVG


Languages

Language:C++ 96.8%Language:Shell 3.2%