Plotdevice

Latest version: v1.0.0

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

1.9.1

-------------
* 1.9.0 was Intel only -- this is a Universal build.

1.9.0

-------------
* 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.

1.8.5

-------------
* Equals function checks for None
* BezierPath.points and bezier.points now also return the value at t=1.0.
* Added new examples: Interactivity/Drawing.py and Path/Spider.py.

1.8.4

-------------
* Fixed a bug in bezier.insert_point
* Fullscreen mode accepts key input. Mouse position is still flipped, though
* Stop command now removes the ValueLadder
* Fixed bug in ValueLadder where a source file with unicode characters would give an error.

1.8.3

-------------
* NodeBox is now a universal binary, including all of its libraries.
* You can now install python libraries in "/Users/<yourusername>/Library/Application Support/NodeBox". NodeBox will automatically create this directory when starting up.
* The bezier library is now an integral part of NodeBox.

1.8.2

-------------
* Direct view is turned of because it broke vector output.
* AppleScripting is back.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.