Skip to content

robclouth/pynanovg

 
 

Repository files navigation

PyNanoVG

... work in progress ...

Cython powered bindings for NanoVG

Forked from here.

Installation

  • pip install Cython
  • pip install numpy
  • pip install pynanovg

Use

import pynanovg

# Set up an OpenGL window here

vg = pynanovg.Context()
vg.beginFrame()

vg.beginPath(vg)
vg.ellipse(100, 100, 10, 5)
vg.fillColor(0.1, 0.1, 0.9, 1.0)
vg.fill()

vg.endFrame()

About

cython powered bindings for nanovg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%