Show
Ignore:
Timestamp:
10/01/07 15:37:11 (15 months ago)
Author:
fdb
Message:

vdiff and two compliance tests for NodeBox?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nodebox/trunk/src/Changes.txt

    r159 r175  
    99* Colors are no longer calibrated in RGB color space. This gives correct results. 
    1010* 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 
    1121* BezierPath, Image and Text objects support copying: path.copy() gives you a fresh copy you can transform. 
    1222* Text input now gets converted to unicode, which means you can do: 
     
    2838    canvas.clear() # The canvas is now empty when drawn on-screen 
    2939     
    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: 
    3241 
    3342    from nodebox.console import make_movie