Show
Ignore:
Timestamp:
11/05/07 14:37:27 (14 months ago)
Author:
fdb
Message:

- export fix for single page PDFs
- strokewidth cannot be negative anymore
- progress sheet nib added
- fixed behaviour of transformBezierPath

Location:
nodebox/trunk/src/tests/graphics
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • nodebox/trunk/src/tests/graphics/002-text.py

    r201 r227  
    44 
    55text("Hello", x, y) 
    6 stroke(0) 
    7 nofill()     
    8 rect(x, y-12,50,20) 
     6drawpath(textpath("Hello", x + 100, y)) 
     7rect(x, y-12,50,20, fill=None, stroke=0) 
     8rect(x + 100, y-12,50,20, fill=None, stroke=0) 
    99 
    1010y += 30 
    1111align(LEFT) 
    12 stroke(0) 
    13 nofill()     
    14 rect(x, y-12,50,20) 
    15 fill(0) 
    1612text("Hello", x, y, width=50) 
     13drawpath(textpath("Hello", x + 100, y, width=50)) 
     14rect(x, y-12,50,20, fill=None, stroke=0) 
     15rect(x + 100, y-12,50,20, fill=None, stroke=0) 
    1716 
    1817y += 30 
    1918align(CENTER) 
    20 stroke(0) 
    21 nofill()     
    22 rect(x, y-12,50,20) 
    23 fill(0) 
    2419text("Hello", x, y, width=50) 
     20drawpath(textpath("Hello", x + 100, y, width=50)) 
     21rect(x, y-12,50,20, fill=None, stroke=0) 
     22rect(x + 100, y-12,50,20, fill=None, stroke=0) 
    2523 
    2624y += 30 
    2725align(RIGHT) 
    28 stroke(0) 
    29 nofill()     
    30 rect(x, y-12,50,20) 
    31 fill(0) 
    3226text("Hello", x, y, width=50)     
     27drawpath(textpath("Hello", x + 100, y, width=50)) 
     28rect(x, y-12,50,20, fill=None, stroke=0) 
     29rect(x + 100, y-12,50,20, fill=None, stroke=0) 
     30