-------------
* You can now export to PNG, JPEG, TIFF and GIF.
* Clipping works. There is a new ClippingPath, which you can also access directly.
* BezierPath and Text accepts keyword parameters for filling/stroking, so you can do:
p = BezierPath(fill=(1, 0, 0), stroke=0, strokewidth=5)
* Colors are no longer calibrated in RGB color space. This gives correct results.
* Added new outputmode command that you can set to CMYK or RGB. All colors will adhere to the color mode.
* NodeBox is now packaged: DrawingPrimitives is obsoleted in favor of nodebox.graphics.
This also means you can work directly with the context:
from nodebox.graphics import Context
ctx = Context()
ctx.background(None) Make transparent PNG
ctx.size(300, 300)
ctx.rect(0, 0, 100, 100, fill=(0.5, 0.1, 0.3))
ctx.save("test.png") Supported: PDF, PNG, TIFF, JPEG, GIF
* BezierPath, Image and Text objects support copying: path.copy() gives you a fresh copy you can transform.
* Text input now gets converted to unicode, which means you can do:
text(None, 100, 100)
* BezierPath, Text and Image can be transformed after they are created:
t = Text("hello", 100, 100)
t.rotate(5)
t.scale(0.2)
* You can save and clear the canvas at any time during execution:
rect(0, 0, 100, 100)
canvas.save('one-rect.tiff')
rect(110, 0, 100, 100)
canvas.save('two-rects.tiff')
canvas.clear() The canvas is now empty when drawn on-screen
* Access NodeBox from the command line for very simple scripts:
from nodebox.console import make_movie
make_movie('text(FRAME, 100, 100)', 'test.mov', 100)
* Fullscreen mode now has the correct mouse position, and is clipped correctly.
* QuickTime export uses QTKit.
* Errors while drawing now appear in the output view.
* "graphicsView" is no longer set in the namespace.
* Image.image, BezierPath.path and Transform.transform are deprecated --
use Image._nsImage, BezierPath._nsBezierPath and Transform._nsAffineTransform instead.