Changeset 175 for nodebox/trunk/src/Changes.txt
- Timestamp:
- 10/01/07 15:37:11 (15 months ago)
- Files:
-
- 1 modified
-
nodebox/trunk/src/Changes.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nodebox/trunk/src/Changes.txt
r159 r175 9 9 * Colors are no longer calibrated in RGB color space. This gives correct results. 10 10 * Added new outputmode command that you can set to CMYK or RGB. All colors will adhere to the color mode. 11 * NodeBox is now packaged: DrawingPrimitives is obsoleted in favor of nodebox.graphics. 12 This also means you can work directly with the context: 13 14 from nodebox.graphics import Context 15 ctx = Context() 16 ctx.background(None) # Make transparent PNG 17 ctx.size(300, 300) 18 ctx.rect(0, 0, 100, 100, fill=(0.5, 0.1, 0.3)) 19 ctx.save("test.png") # Supported: PDF, PNG, TIFF, JPEG, GIF 20 11 21 * BezierPath, Image and Text objects support copying: path.copy() gives you a fresh copy you can transform. 12 22 * Text input now gets converted to unicode, which means you can do: … … 28 38 canvas.clear() # The canvas is now empty when drawn on-screen 29 39 30 * NodeBox is now packaged: DrawingPrimitives is obsoleted in favor of nodebox.graphics. 31 * Access NodeBox from the command line: 40 * Access NodeBox from the command line for very simple scripts: 32 41 33 42 from nodebox.console import make_movie
