-
Committer:
Mirco Müller
-
Date:
2011-06-24 14:49:09 UTC
-
mfrom:
(364.2.1 nux-canvas)
-
Revision ID:
mirco.mueller@ubuntu.com-20110624144909-e23h133fxxi1qi52
added:
NuxImage/Canvas.cpp
NuxImage/Canvas.h
examples/canvas.cpp
tests/test-canvas.cpp
modified:
NuxImage/Makefile.am
examples/Makefile.am
tests/Makefile.am
Merged my nux.canvas branch to trunk after review and approval from Jay.
This allows to easily create a nux-texture from a cairo-context not having
to deal with all the setting up, resource-handling and re-sizing. This
new class also makes sure no resources are left unfreed or leak. See the
provided example.